Class HttpJsonAwsClustersStub (0.43.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonAwsClustersStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonAwsClustersStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonAwsClustersStub
Exceptions
Type Description
IOException

create(AwsClustersStubSettings settings)

public static final HttpJsonAwsClustersStub create(AwsClustersStubSettings settings)
Parameter
Name Description
settings AwsClustersStubSettings
Returns
Type Description
HttpJsonAwsClustersStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings AwsClustersStubSettings
clientContext ClientContext

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
Name Description
settings AwsClustersStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createAwsClusterCallable()

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

createAwsClusterOperationCallable()

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

createAwsNodePoolCallable()

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

createAwsNodePoolOperationCallable()

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

deleteAwsClusterCallable()

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

deleteAwsClusterOperationCallable()

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

deleteAwsNodePoolCallable()

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

deleteAwsNodePoolOperationCallable()

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

generateAwsAccessTokenCallable()

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

generateAwsClusterAgentTokenCallable()

public UnaryCallable<GenerateAwsClusterAgentTokenRequest,GenerateAwsClusterAgentTokenResponse> generateAwsClusterAgentTokenCallable()
Returns
Type Description
UnaryCallable<GenerateAwsClusterAgentTokenRequest,GenerateAwsClusterAgentTokenResponse>
Overrides

getAwsClusterCallable()

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

getAwsJsonWebKeysCallable()

public UnaryCallable<GetAwsJsonWebKeysRequest,AwsJsonWebKeys> getAwsJsonWebKeysCallable()
Returns
Type Description
UnaryCallable<GetAwsJsonWebKeysRequest,AwsJsonWebKeys>
Overrides

getAwsNodePoolCallable()

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

getAwsOpenIdConfigCallable()

public UnaryCallable<GetAwsOpenIdConfigRequest,AwsOpenIdConfig> getAwsOpenIdConfigCallable()
Returns
Type Description
UnaryCallable<GetAwsOpenIdConfigRequest,AwsOpenIdConfig>
Overrides

getAwsServerConfigCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAwsClustersCallable()

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

listAwsClustersPagedCallable()

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

listAwsNodePoolsCallable()

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

listAwsNodePoolsPagedCallable()

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

rollbackAwsNodePoolUpdateCallable()

public UnaryCallable<RollbackAwsNodePoolUpdateRequest,Operation> rollbackAwsNodePoolUpdateCallable()
Returns
Type Description
UnaryCallable<RollbackAwsNodePoolUpdateRequest,Operation>
Overrides

rollbackAwsNodePoolUpdateOperationCallable()

public OperationCallable<RollbackAwsNodePoolUpdateRequest,AwsNodePool,OperationMetadata> rollbackAwsNodePoolUpdateOperationCallable()
Returns
Type Description
OperationCallable<RollbackAwsNodePoolUpdateRequest,AwsNodePool,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAwsClusterCallable()

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

updateAwsClusterOperationCallable()

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

updateAwsNodePoolCallable()

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

updateAwsNodePoolOperationCallable()

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