Class HttpJsonTargetVpnGatewaysStub (1.11.0)

public class HttpJsonTargetVpnGatewaysStub extends TargetVpnGatewaysStub

REST stub implementation for the TargetVpnGateways service API.

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

Inheritance

java.lang.Object > TargetVpnGatewaysStub > HttpJsonTargetVpnGatewaysStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TargetVpnGatewaysStubSettings settings)

public static final HttpJsonTargetVpnGatewaysStub create(TargetVpnGatewaysStubSettings settings)
Parameter
NameDescription
settingsTargetVpnGatewaysStubSettings
Returns
TypeDescription
HttpJsonTargetVpnGatewaysStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonTargetVpnGatewaysStub(TargetVpnGatewaysStubSettings settings, ClientContext clientContext)

protected HttpJsonTargetVpnGatewaysStub(TargetVpnGatewaysStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonTargetVpnGatewaysStub, 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
settingsTargetVpnGatewaysStubSettings
clientContextClientContext

HttpJsonTargetVpnGatewaysStub(TargetVpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonTargetVpnGatewaysStub(TargetVpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonTargetVpnGatewaysStub, 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
settingsTargetVpnGatewaysStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewayAggregatedList> aggregatedListCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewayAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewaysClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListTargetVpnGatewaysRequest,AggregatedListPagedResponse>
Overrides

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

deleteCallable()

public UnaryCallable<DeleteTargetVpnGatewayRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteTargetVpnGatewayRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteTargetVpnGatewayRequest,Operation,Operation> deleteOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteTargetVpnGatewayRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetTargetVpnGatewayRequest,TargetVpnGateway> getCallable()
Returns
TypeDescription
UnaryCallable<GetTargetVpnGatewayRequest,TargetVpnGateway>
Overrides

insertCallable()

public UnaryCallable<InsertTargetVpnGatewayRequest,Operation> insertCallable()
Returns
TypeDescription
UnaryCallable<InsertTargetVpnGatewayRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertTargetVpnGatewayRequest,Operation,Operation> insertOperationCallable()
Returns
TypeDescription
OperationCallable<InsertTargetVpnGatewayRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListTargetVpnGatewaysRequest,TargetVpnGatewayList> listCallable()
Returns
TypeDescription
UnaryCallable<ListTargetVpnGatewaysRequest,TargetVpnGatewayList>
Overrides

listPagedCallable()

public UnaryCallable<ListTargetVpnGatewaysRequest,TargetVpnGatewaysClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTargetVpnGatewaysRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()