Class BareMetalSolutionStubSettings.Builder (0.2.1)

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

createSnapshotSchedulePolicySettings()

public UnaryCallSettings.Builder<CreateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy> createSnapshotSchedulePolicySettings()

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

Returns
TypeDescription
Builder<CreateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy>

createVolumeSnapshotSettings()

public UnaryCallSettings.Builder<CreateVolumeSnapshotRequest,VolumeSnapshot> createVolumeSnapshotSettings()

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

Returns
TypeDescription
Builder<CreateVolumeSnapshotRequest,VolumeSnapshot>

deleteSnapshotSchedulePolicySettings()

public UnaryCallSettings.Builder<DeleteSnapshotSchedulePolicyRequest,Empty> deleteSnapshotSchedulePolicySettings()

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

Returns
TypeDescription
Builder<DeleteSnapshotSchedulePolicyRequest,Empty>

deleteVolumeSnapshotSettings()

public UnaryCallSettings.Builder<DeleteVolumeSnapshotRequest,Empty> deleteVolumeSnapshotSettings()

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

Returns
TypeDescription
Builder<DeleteVolumeSnapshotRequest,Empty>

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>

getSnapshotSchedulePolicySettings()

public UnaryCallSettings.Builder<GetSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy> getSnapshotSchedulePolicySettings()

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

Returns
TypeDescription
Builder<GetSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy>

getVolumeSettings()

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

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

Returns
TypeDescription
Builder<GetVolumeRequest,Volume>

getVolumeSnapshotSettings()

public UnaryCallSettings.Builder<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotSettings()

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

Returns
TypeDescription
Builder<GetVolumeSnapshotRequest,VolumeSnapshot>

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>

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>

listSnapshotSchedulePoliciesSettings()

public PagedCallSettings.Builder<ListSnapshotSchedulePoliciesRequest,ListSnapshotSchedulePoliciesResponse,BareMetalSolutionClient.ListSnapshotSchedulePoliciesPagedResponse> listSnapshotSchedulePoliciesSettings()

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

Returns
TypeDescription
Builder<ListSnapshotSchedulePoliciesRequest,ListSnapshotSchedulePoliciesResponse,ListSnapshotSchedulePoliciesPagedResponse>

listVolumeSnapshotsSettings()

public PagedCallSettings.Builder<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse,BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse> listVolumeSnapshotsSettings()

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

Returns
TypeDescription
Builder<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse,ListVolumeSnapshotsPagedResponse>

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>

restoreVolumeSnapshotOperationSettings()

public OperationCallSettings.Builder<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata> restoreVolumeSnapshotOperationSettings()

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

Returns
TypeDescription
Builder<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata>

restoreVolumeSnapshotSettings()

public UnaryCallSettings.Builder<RestoreVolumeSnapshotRequest,Operation> restoreVolumeSnapshotSettings()

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

Returns
TypeDescription
Builder<RestoreVolumeSnapshotRequest,Operation>

unaryMethodSettingsBuilders()

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

updateSnapshotSchedulePolicySettings()

public UnaryCallSettings.Builder<UpdateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy> updateSnapshotSchedulePolicySettings()

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

Returns
TypeDescription
Builder<UpdateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy>

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>