Class HttpJsonBareMetalSolutionStub (0.6.0)

public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub

REST stub implementation for the BareMetalSolution service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > BareMetalSolutionStub > HttpJsonBareMetalSolutionStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonBareMetalSolutionStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonBareMetalSolutionStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(BareMetalSolutionStubSettings settings)

public static final HttpJsonBareMetalSolutionStub create(BareMetalSolutionStubSettings settings)
Parameter
NameDescription
settingsBareMetalSolutionStubSettings
Returns Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext)

protected HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonBareMetalSolutionStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsBareMetalSolutionStubSettings
clientContextClientContext

HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonBareMetalSolutionStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsBareMetalSolutionStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

detachLunCallable()

public UnaryCallable<DetachLunRequest,Operation> detachLunCallable()
Returns Overrides

detachLunOperationCallable()

public OperationCallable<DetachLunRequest,Instance,OperationMetadata> detachLunOperationCallable()
Returns Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getInstanceCallable()

public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns Overrides

getLunCallable()

public UnaryCallable<GetLunRequest,Lun> getLunCallable()
Returns Overrides

getNetworkCallable()

public UnaryCallable<GetNetworkRequest,Network> getNetworkCallable()
Returns Overrides

getNfsShareCallable()

public UnaryCallable<GetNfsShareRequest,NfsShare> getNfsShareCallable()
Returns Overrides

getVolumeCallable()

public UnaryCallable<GetVolumeRequest,Volume> getVolumeCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listInstancesCallable()

public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns Overrides

listInstancesPagedCallable()

public UnaryCallable<ListInstancesRequest,BareMetalSolutionClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns Overrides

listLunsCallable()

public UnaryCallable<ListLunsRequest,ListLunsResponse> listLunsCallable()
Returns Overrides

listLunsPagedCallable()

public UnaryCallable<ListLunsRequest,BareMetalSolutionClient.ListLunsPagedResponse> listLunsPagedCallable()
Returns Overrides

listNetworkUsageCallable()

public UnaryCallable<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageCallable()
Returns Overrides

listNetworksCallable()

public UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
Returns Overrides

listNetworksPagedCallable()

public UnaryCallable<ListNetworksRequest,BareMetalSolutionClient.ListNetworksPagedResponse> listNetworksPagedCallable()
Returns Overrides

listNfsSharesCallable()

public UnaryCallable<ListNfsSharesRequest,ListNfsSharesResponse> listNfsSharesCallable()
Returns Overrides

listNfsSharesPagedCallable()

public UnaryCallable<ListNfsSharesRequest,BareMetalSolutionClient.ListNfsSharesPagedResponse> listNfsSharesPagedCallable()
Returns Overrides

listVolumesCallable()

public UnaryCallable<ListVolumesRequest,ListVolumesResponse> listVolumesCallable()
Returns Overrides

listVolumesPagedCallable()

public UnaryCallable<ListVolumesRequest,BareMetalSolutionClient.ListVolumesPagedResponse> listVolumesPagedCallable()
Returns Overrides

resetInstanceCallable()

public UnaryCallable<ResetInstanceRequest,Operation> resetInstanceCallable()
Returns Overrides

resetInstanceOperationCallable()

public OperationCallable<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata> resetInstanceOperationCallable()
Returns Overrides

resizeVolumeCallable()

public UnaryCallable<ResizeVolumeRequest,Operation> resizeVolumeCallable()
Returns Overrides

resizeVolumeOperationCallable()

public OperationCallable<ResizeVolumeRequest,Volume,OperationMetadata> resizeVolumeOperationCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startInstanceCallable()

public UnaryCallable<StartInstanceRequest,Operation> startInstanceCallable()
Returns Overrides

startInstanceOperationCallable()

public OperationCallable<StartInstanceRequest,StartInstanceResponse,OperationMetadata> startInstanceOperationCallable()
Returns Overrides

stopInstanceCallable()

public UnaryCallable<StopInstanceRequest,Operation> stopInstanceCallable()
Returns Overrides

stopInstanceOperationCallable()

public OperationCallable<StopInstanceRequest,StopInstanceResponse,OperationMetadata> stopInstanceOperationCallable()
Returns Overrides

updateInstanceCallable()

public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Returns Overrides

updateInstanceOperationCallable()

public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Returns Overrides

updateNetworkCallable()

public UnaryCallable<UpdateNetworkRequest,Operation> updateNetworkCallable()
Returns Overrides

updateNetworkOperationCallable()

public OperationCallable<UpdateNetworkRequest,Network,OperationMetadata> updateNetworkOperationCallable()
Returns Overrides

updateNfsShareCallable()

public UnaryCallable<UpdateNfsShareRequest,Operation> updateNfsShareCallable()
Returns Overrides

updateNfsShareOperationCallable()

public OperationCallable<UpdateNfsShareRequest,NfsShare,OperationMetadata> updateNfsShareOperationCallable()
Returns Overrides

updateVolumeCallable()

public UnaryCallable<UpdateVolumeRequest,Operation> updateVolumeCallable()
Returns Overrides

updateVolumeOperationCallable()

public OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationCallable()
Returns Overrides