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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonBareMetalSolutionStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonBareMetalSolutionStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final HttpJsonBareMetalSolutionStub create(BareMetalSolutionStubSettings settings)
Parameter
Returns
Exceptions
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public final void close()
Overrides
public UnaryCallable<DetachLunRequest,Operation> detachLunCallable()
Returns
Overrides
public OperationCallable<DetachLunRequest,Instance,OperationMetadata> detachLunOperationCallable()
Returns
Overrides
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns
Overrides
public UnaryCallable<GetLunRequest,Lun> getLunCallable()
Returns
Overrides
public UnaryCallable<GetNetworkRequest,Network> getNetworkCallable()
Returns
Overrides
public UnaryCallable<GetNfsShareRequest,NfsShare> getNfsShareCallable()
Returns
Overrides
public UnaryCallable<GetVolumeRequest,Volume> getVolumeCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,BareMetalSolutionClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
Overrides
public UnaryCallable<ListLunsRequest,ListLunsResponse> listLunsCallable()
Returns
Overrides
listLunsPagedCallable()
public UnaryCallable<ListLunsRequest,BareMetalSolutionClient.ListLunsPagedResponse> listLunsPagedCallable()
Returns
Overrides
public UnaryCallable<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageCallable()
Returns
Overrides
public UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
Returns
Overrides
listNetworksPagedCallable()
public UnaryCallable<ListNetworksRequest,BareMetalSolutionClient.ListNetworksPagedResponse> listNetworksPagedCallable()
Returns
Overrides
public UnaryCallable<ListNfsSharesRequest,ListNfsSharesResponse> listNfsSharesCallable()
Returns
Overrides
listNfsSharesPagedCallable()
public UnaryCallable<ListNfsSharesRequest,BareMetalSolutionClient.ListNfsSharesPagedResponse> listNfsSharesPagedCallable()
Returns
Overrides
public UnaryCallable<ListVolumesRequest,ListVolumesResponse> listVolumesCallable()
Returns
Overrides
listVolumesPagedCallable()
public UnaryCallable<ListVolumesRequest,BareMetalSolutionClient.ListVolumesPagedResponse> listVolumesPagedCallable()
Returns
Overrides
public UnaryCallable<ResetInstanceRequest,Operation> resetInstanceCallable()
Returns
Overrides
public OperationCallable<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata> resetInstanceOperationCallable()
Returns
Overrides
public UnaryCallable<ResizeVolumeRequest,Operation> resizeVolumeCallable()
Returns
Overrides
public OperationCallable<ResizeVolumeRequest,Volume,OperationMetadata> resizeVolumeOperationCallable()
Returns
Overrides
public void shutdownNow()
public UnaryCallable<StartInstanceRequest,Operation> startInstanceCallable()
Returns
Overrides
public OperationCallable<StartInstanceRequest,StartInstanceResponse,OperationMetadata> startInstanceOperationCallable()
Returns
Overrides
public UnaryCallable<StopInstanceRequest,Operation> stopInstanceCallable()
Returns
Overrides
public OperationCallable<StopInstanceRequest,StopInstanceResponse,OperationMetadata> stopInstanceOperationCallable()
Returns
Overrides
public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Returns
Overrides
public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Returns
Overrides
public UnaryCallable<UpdateNetworkRequest,Operation> updateNetworkCallable()
Returns
Overrides
public OperationCallable<UpdateNetworkRequest,Network,OperationMetadata> updateNetworkOperationCallable()
Returns
Overrides
public UnaryCallable<UpdateNfsShareRequest,Operation> updateNfsShareCallable()
Returns
Overrides
public OperationCallable<UpdateNfsShareRequest,NfsShare,OperationMetadata> updateNfsShareOperationCallable()
Returns
Overrides
public UnaryCallable<UpdateVolumeRequest,Operation> updateVolumeCallable()
Returns
Overrides
public OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationCallable()
Returns
Overrides