public class HttpJsonRegionInstanceGroupsStub extends RegionInstanceGroupsStub
REST stub implementation for the RegionInstanceGroups service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegionInstanceGroupsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionInstanceGroupsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(RegionInstanceGroupsStubSettings settings)
public static final HttpJsonRegionInstanceGroupsStub create(RegionInstanceGroupsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonRegionInstanceGroupsStub(RegionInstanceGroupsStubSettings settings, ClientContext clientContext)
protected HttpJsonRegionInstanceGroupsStub(RegionInstanceGroupsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegionInstanceGroupsStub, 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
HttpJsonRegionInstanceGroupsStub(RegionInstanceGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegionInstanceGroupsStub(RegionInstanceGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionInstanceGroupsStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
getCallable()
public UnaryCallable<GetRegionInstanceGroupRequest,InstanceGroup> getCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListRegionInstanceGroupsRequest,RegionInstanceGroupList> listCallable()
Returns
Overrides
listInstancesCallable()
public UnaryCallable<ListInstancesRegionInstanceGroupsRequest,RegionInstanceGroupsListInstances> listInstancesCallable()
Returns
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRegionInstanceGroupsRequest,RegionInstanceGroupsClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListRegionInstanceGroupsRequest,RegionInstanceGroupsClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
setNamedPortsCallable()
public UnaryCallable<SetNamedPortsRegionInstanceGroupRequest,Operation> setNamedPortsCallable()
Returns
Overrides
setNamedPortsOperationCallable()
public OperationCallable<SetNamedPortsRegionInstanceGroupRequest,Operation,Operation> setNamedPortsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()