Class BareMetalSolutionStubSettings.Builder (0.15.0)

public static class BareMetalSolutionStubSettings.Builder extends StubSettings.Builder<BareMetalSolutionStubSettings,BareMetalSolutionStubSettings.Builder>

Builder for BareMetalSolutionStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BareMetalSolutionStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BareMetalSolutionStubSettings settings)

protected Builder(BareMetalSolutionStubSettings settings)
Parameter
NameDescription
settingsBareMetalSolutionStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public BareMetalSolutionStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
BareMetalSolutionStubSettings.Builder

build()

public BareMetalSolutionStubSettings build()
Returns
TypeDescription
BareMetalSolutionStubSettings
Overrides
Exceptions
TypeDescription
IOException

detachLunOperationSettings()

public OperationCallSettings.Builder<DetachLunRequest,Instance,OperationMetadata> detachLunOperationSettings()

Returns the builder for the settings used for calls to detachLun.

Returns
TypeDescription
Builder<DetachLunRequest,Instance,OperationMetadata>

detachLunSettings()

public UnaryCallSettings.Builder<DetachLunRequest,Operation> detachLunSettings()

Returns the builder for the settings used for calls to detachLun.

Returns
TypeDescription
Builder<DetachLunRequest,Operation>

getInstanceSettings()

public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()

Returns the builder for the settings used for calls to getInstance.

Returns
TypeDescription
Builder<GetInstanceRequest,Instance>

getLunSettings()

public UnaryCallSettings.Builder<GetLunRequest,Lun> getLunSettings()

Returns the builder for the settings used for calls to getLun.

Returns
TypeDescription
Builder<GetLunRequest,Lun>

getNetworkSettings()

public UnaryCallSettings.Builder<GetNetworkRequest,Network> getNetworkSettings()

Returns the builder for the settings used for calls to getNetwork.

Returns
TypeDescription
Builder<GetNetworkRequest,Network>

getNfsShareSettings()

public UnaryCallSettings.Builder<GetNfsShareRequest,NfsShare> getNfsShareSettings()

Returns the builder for the settings used for calls to getNfsShare.

Returns
TypeDescription
Builder<GetNfsShareRequest,NfsShare>

getVolumeSettings()

public UnaryCallSettings.Builder<GetVolumeRequest,Volume> getVolumeSettings()

Returns the builder for the settings used for calls to getVolume.

Returns
TypeDescription
Builder<GetVolumeRequest,Volume>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,BareMetalSolutionClient.ListInstancesPagedResponse> listInstancesSettings()

Returns the builder for the settings used for calls to listInstances.

Returns
TypeDescription
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

listLunsSettings()

public PagedCallSettings.Builder<ListLunsRequest,ListLunsResponse,BareMetalSolutionClient.ListLunsPagedResponse> listLunsSettings()

Returns the builder for the settings used for calls to listLuns.

Returns
TypeDescription
Builder<ListLunsRequest,ListLunsResponse,ListLunsPagedResponse>

listNetworkUsageSettings()

public UnaryCallSettings.Builder<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageSettings()

Returns the builder for the settings used for calls to listNetworkUsage.

Returns
TypeDescription
Builder<ListNetworkUsageRequest,ListNetworkUsageResponse>

listNetworksSettings()

public PagedCallSettings.Builder<ListNetworksRequest,ListNetworksResponse,BareMetalSolutionClient.ListNetworksPagedResponse> listNetworksSettings()

Returns the builder for the settings used for calls to listNetworks.

Returns
TypeDescription
Builder<ListNetworksRequest,ListNetworksResponse,ListNetworksPagedResponse>

listNfsSharesSettings()

public PagedCallSettings.Builder<ListNfsSharesRequest,ListNfsSharesResponse,BareMetalSolutionClient.ListNfsSharesPagedResponse> listNfsSharesSettings()

Returns the builder for the settings used for calls to listNfsShares.

Returns
TypeDescription
Builder<ListNfsSharesRequest,ListNfsSharesResponse,ListNfsSharesPagedResponse>

listVolumesSettings()

public PagedCallSettings.Builder<ListVolumesRequest,ListVolumesResponse,BareMetalSolutionClient.ListVolumesPagedResponse> listVolumesSettings()

Returns the builder for the settings used for calls to listVolumes.

Returns
TypeDescription
Builder<ListVolumesRequest,ListVolumesResponse,ListVolumesPagedResponse>

resetInstanceOperationSettings()

public OperationCallSettings.Builder<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata> resetInstanceOperationSettings()

Returns the builder for the settings used for calls to resetInstance.

Returns
TypeDescription
Builder<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata>

resetInstanceSettings()

public UnaryCallSettings.Builder<ResetInstanceRequest,Operation> resetInstanceSettings()

Returns the builder for the settings used for calls to resetInstance.

Returns
TypeDescription
Builder<ResetInstanceRequest,Operation>

resizeVolumeOperationSettings()

public OperationCallSettings.Builder<ResizeVolumeRequest,Volume,OperationMetadata> resizeVolumeOperationSettings()

Returns the builder for the settings used for calls to resizeVolume.

Returns
TypeDescription
Builder<ResizeVolumeRequest,Volume,OperationMetadata>

resizeVolumeSettings()

public UnaryCallSettings.Builder<ResizeVolumeRequest,Operation> resizeVolumeSettings()

Returns the builder for the settings used for calls to resizeVolume.

Returns
TypeDescription
Builder<ResizeVolumeRequest,Operation>

startInstanceOperationSettings()

public OperationCallSettings.Builder<StartInstanceRequest,StartInstanceResponse,OperationMetadata> startInstanceOperationSettings()

Returns the builder for the settings used for calls to startInstance.

Returns
TypeDescription
Builder<StartInstanceRequest,StartInstanceResponse,OperationMetadata>

startInstanceSettings()

public UnaryCallSettings.Builder<StartInstanceRequest,Operation> startInstanceSettings()

Returns the builder for the settings used for calls to startInstance.

Returns
TypeDescription
Builder<StartInstanceRequest,Operation>

stopInstanceOperationSettings()

public OperationCallSettings.Builder<StopInstanceRequest,StopInstanceResponse,OperationMetadata> stopInstanceOperationSettings()

Returns the builder for the settings used for calls to stopInstance.

Returns
TypeDescription
Builder<StopInstanceRequest,StopInstanceResponse,OperationMetadata>

stopInstanceSettings()

public UnaryCallSettings.Builder<StopInstanceRequest,Operation> stopInstanceSettings()

Returns the builder for the settings used for calls to stopInstance.

Returns
TypeDescription
Builder<StopInstanceRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateInstanceOperationSettings()

public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
TypeDescription
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
TypeDescription
Builder<UpdateInstanceRequest,Operation>

updateNetworkOperationSettings()

public OperationCallSettings.Builder<UpdateNetworkRequest,Network,OperationMetadata> updateNetworkOperationSettings()

Returns the builder for the settings used for calls to updateNetwork.

Returns
TypeDescription
Builder<UpdateNetworkRequest,Network,OperationMetadata>

updateNetworkSettings()

public UnaryCallSettings.Builder<UpdateNetworkRequest,Operation> updateNetworkSettings()

Returns the builder for the settings used for calls to updateNetwork.

Returns
TypeDescription
Builder<UpdateNetworkRequest,Operation>

updateNfsShareOperationSettings()

public OperationCallSettings.Builder<UpdateNfsShareRequest,NfsShare,OperationMetadata> updateNfsShareOperationSettings()

Returns the builder for the settings used for calls to updateNfsShare.

Returns
TypeDescription
Builder<UpdateNfsShareRequest,NfsShare,OperationMetadata>

updateNfsShareSettings()

public UnaryCallSettings.Builder<UpdateNfsShareRequest,Operation> updateNfsShareSettings()

Returns the builder for the settings used for calls to updateNfsShare.

Returns
TypeDescription
Builder<UpdateNfsShareRequest,Operation>

updateVolumeOperationSettings()

public OperationCallSettings.Builder<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationSettings()

Returns the builder for the settings used for calls to updateVolume.

Returns
TypeDescription
Builder<UpdateVolumeRequest,Volume,OperationMetadata>

updateVolumeSettings()

public UnaryCallSettings.Builder<UpdateVolumeRequest,Operation> updateVolumeSettings()

Returns the builder for the settings used for calls to updateVolume.

Returns
TypeDescription
Builder<UpdateVolumeRequest,Operation>