Class BareMetalSolutionSettings.Builder (0.1.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
Name Description
clientContext ClientContext

Builder(BareMetalSolutionSettings settings)

protected Builder(BareMetalSolutionSettings settings)
Parameter
Name Description
settings BareMetalSolutionSettings

Builder(BareMetalSolutionStubSettings.Builder stubSettings)

protected Builder(BareMetalSolutionStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings BareMetalSolutionStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
BareMetalSolutionSettings.Builder

build()

public BareMetalSolutionSettings build()
Returns
Type Description
BareMetalSolutionSettings
Overrides Exceptions
Type Description
IOException

createSnapshotSchedulePolicySettings()

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

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

Returns
Type Description
Builder<CreateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy>

createVolumeSnapshotSettings()

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

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

Returns
Type Description
Builder<CreateVolumeSnapshotRequest,VolumeSnapshot>

deleteSnapshotSchedulePolicySettings()

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

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

Returns
Type Description
Builder<DeleteSnapshotSchedulePolicyRequest,Empty>

deleteVolumeSnapshotSettings()

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

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

Returns
Type Description
Builder<DeleteVolumeSnapshotRequest,Empty>

getInstanceSettings()

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

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

Returns
Type Description
Builder<GetInstanceRequest,Instance>

getLunSettings()

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

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

Returns
Type Description
Builder<GetLunRequest,Lun>

getNetworkSettings()

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

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

Returns
Type Description
Builder<GetNetworkRequest,Network>

getSnapshotSchedulePolicySettings()

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

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

Returns
Type Description
Builder<GetSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy>

getStubSettingsBuilder()

public BareMetalSolutionStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
BareMetalSolutionStubSettings.Builder

getVolumeSettings()

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

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

Returns
Type Description
Builder<GetVolumeRequest,Volume>

getVolumeSnapshotSettings()

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

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

Returns
Type Description
Builder<GetVolumeSnapshotRequest,VolumeSnapshot>

listInstancesSettings()

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

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Builder<ListVolumesRequest,ListVolumesResponse,ListVolumesPagedResponse>

resetInstanceOperationSettings()

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

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

Returns
Type Description
Builder<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata>

resetInstanceSettings()

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

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

Returns
Type Description
Builder<ResetInstanceRequest,Operation>

restoreVolumeSnapshotOperationSettings()

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

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

Returns
Type Description
Builder<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata>

restoreVolumeSnapshotSettings()

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

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

Returns
Type Description
Builder<RestoreVolumeSnapshotRequest,Operation>

updateSnapshotSchedulePolicySettings()

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

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

Returns
Type Description
Builder<UpdateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy>

updateVolumeOperationSettings()

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

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

Returns
Type Description
Builder<UpdateVolumeRequest,Volume,OperationMetadata>

updateVolumeSettings()

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

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

Returns
Type Description
Builder<UpdateVolumeRequest,Operation>