Class BareMetalSolutionSettings.Builder (0.2.1)

public static class BareMetalSolutionSettings.Builder extends ClientSettings.Builder<BareMetalSolutionSettings,BareMetalSolutionSettings.Builder>

Builder for BareMetalSolutionSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BareMetalSolutionSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BareMetalSolutionSettings settings)

protected Builder(BareMetalSolutionSettings settings)
Parameter
NameDescription
settingsBareMetalSolutionSettings

Builder(BareMetalSolutionStubSettings.Builder stubSettings)

protected Builder(BareMetalSolutionStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBareMetalSolutionStubSettings.Builder

Methods

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

public BareMetalSolutionSettings.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

build()

public BareMetalSolutionSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

createSnapshotSchedulePolicySettings()

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

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

Returns

createVolumeSnapshotSettings()

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

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

Returns

deleteSnapshotSchedulePolicySettings()

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

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

Returns

deleteVolumeSnapshotSettings()

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

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

Returns

getInstanceSettings()

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

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

Returns

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

getSnapshotSchedulePolicySettings()

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

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

Returns

getStubSettingsBuilder()

public BareMetalSolutionStubSettings.Builder getStubSettingsBuilder()
Returns

getVolumeSettings()

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

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

Returns

getVolumeSnapshotSettings()

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

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

Returns

listInstancesSettings()

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

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

Returns

listLunsSettings()

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

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

Returns

listNetworksSettings()

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

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

Returns

listSnapshotSchedulePoliciesSettings()

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

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

Returns

listVolumeSnapshotsSettings()

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

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

Returns

listVolumesSettings()

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

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

Returns

resetInstanceOperationSettings()

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

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

Returns

resetInstanceSettings()

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

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

Returns

restoreVolumeSnapshotOperationSettings()

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

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

Returns

restoreVolumeSnapshotSettings()

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

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

Returns

updateSnapshotSchedulePolicySettings()

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

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

Returns

updateVolumeOperationSettings()

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

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

Returns

updateVolumeSettings()

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

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

Returns