Class HttpJsonAwsClustersStub (0.19.0)

public class HttpJsonAwsClustersStub extends AwsClustersStub

REST stub implementation for the AwsClusters service API.

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

Inheritance

java.lang.Object > AwsClustersStub > HttpJsonAwsClustersStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(AwsClustersStubSettings settings)

public static final HttpJsonAwsClustersStub create(AwsClustersStubSettings settings)
Parameter
NameDescription
settingsAwsClustersStubSettings
Returns
TypeDescription
HttpJsonAwsClustersStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext)

protected HttpJsonAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonAwsClustersStub, 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
settingsAwsClustersStubSettings
clientContextClientContext

HttpJsonAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonAwsClustersStub, 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
settingsAwsClustersStubSettings
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

createAwsClusterCallable()

public UnaryCallable<CreateAwsClusterRequest,Operation> createAwsClusterCallable()
Returns
TypeDescription
UnaryCallable<CreateAwsClusterRequest,Operation>
Overrides

createAwsClusterOperationCallable()

public OperationCallable<CreateAwsClusterRequest,AwsCluster,OperationMetadata> createAwsClusterOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAwsClusterRequest,AwsCluster,OperationMetadata>
Overrides

createAwsNodePoolCallable()

public UnaryCallable<CreateAwsNodePoolRequest,Operation> createAwsNodePoolCallable()
Returns
TypeDescription
UnaryCallable<CreateAwsNodePoolRequest,Operation>
Overrides

createAwsNodePoolOperationCallable()

public OperationCallable<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata> createAwsNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata>
Overrides

deleteAwsClusterCallable()

public UnaryCallable<DeleteAwsClusterRequest,Operation> deleteAwsClusterCallable()
Returns
TypeDescription
UnaryCallable<DeleteAwsClusterRequest,Operation>
Overrides

deleteAwsClusterOperationCallable()

public OperationCallable<DeleteAwsClusterRequest,Empty,OperationMetadata> deleteAwsClusterOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAwsClusterRequest,Empty,OperationMetadata>
Overrides

deleteAwsNodePoolCallable()

public UnaryCallable<DeleteAwsNodePoolRequest,Operation> deleteAwsNodePoolCallable()
Returns
TypeDescription
UnaryCallable<DeleteAwsNodePoolRequest,Operation>
Overrides

deleteAwsNodePoolOperationCallable()

public OperationCallable<DeleteAwsNodePoolRequest,Empty,OperationMetadata> deleteAwsNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAwsNodePoolRequest,Empty,OperationMetadata>
Overrides

generateAwsAccessTokenCallable()

public UnaryCallable<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse> generateAwsAccessTokenCallable()
Returns
TypeDescription
UnaryCallable<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse>
Overrides

getAwsClusterCallable()

public UnaryCallable<GetAwsClusterRequest,AwsCluster> getAwsClusterCallable()
Returns
TypeDescription
UnaryCallable<GetAwsClusterRequest,AwsCluster>
Overrides

getAwsNodePoolCallable()

public UnaryCallable<GetAwsNodePoolRequest,AwsNodePool> getAwsNodePoolCallable()
Returns
TypeDescription
UnaryCallable<GetAwsNodePoolRequest,AwsNodePool>
Overrides

getAwsServerConfigCallable()

public UnaryCallable<GetAwsServerConfigRequest,AwsServerConfig> getAwsServerConfigCallable()
Returns
TypeDescription
UnaryCallable<GetAwsServerConfigRequest,AwsServerConfig>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAwsClustersCallable()

public UnaryCallable<ListAwsClustersRequest,ListAwsClustersResponse> listAwsClustersCallable()
Returns
TypeDescription
UnaryCallable<ListAwsClustersRequest,ListAwsClustersResponse>
Overrides

listAwsClustersPagedCallable()

public UnaryCallable<ListAwsClustersRequest,AwsClustersClient.ListAwsClustersPagedResponse> listAwsClustersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAwsClustersRequest,ListAwsClustersPagedResponse>
Overrides

listAwsNodePoolsCallable()

public UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse> listAwsNodePoolsCallable()
Returns
TypeDescription
UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse>
Overrides

listAwsNodePoolsPagedCallable()

public UnaryCallable<ListAwsNodePoolsRequest,AwsClustersClient.ListAwsNodePoolsPagedResponse> listAwsNodePoolsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAwsClusterCallable()

public UnaryCallable<UpdateAwsClusterRequest,Operation> updateAwsClusterCallable()
Returns
TypeDescription
UnaryCallable<UpdateAwsClusterRequest,Operation>
Overrides

updateAwsClusterOperationCallable()

public OperationCallable<UpdateAwsClusterRequest,AwsCluster,OperationMetadata> updateAwsClusterOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateAwsClusterRequest,AwsCluster,OperationMetadata>
Overrides

updateAwsNodePoolCallable()

public UnaryCallable<UpdateAwsNodePoolRequest,Operation> updateAwsNodePoolCallable()
Returns
TypeDescription
UnaryCallable<UpdateAwsNodePoolRequest,Operation>
Overrides

updateAwsNodePoolOperationCallable()

public OperationCallable<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata> updateAwsNodePoolOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata>
Overrides