public static final class AwsClustersGrpc.AwsClustersStub extends AbstractAsyncStub<AwsClustersGrpc.AwsClustersStub>
The AwsClusters API provides a single centrally managed service
to create and manage Anthos clusters that run on AWS infrastructure.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
AwsClustersGrpc.AwsClustersStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected AwsClustersGrpc.AwsClustersStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public void createAwsCluster(CreateAwsClusterRequest request, StreamObserver<Operation> responseObserver)
Creates a new AwsCluster
resource on a given GCP project and region.
If successful, the response contains a newly created
Operation resource that can be
described to track the status of the operation.
Parameters
public void createAwsNodePool(CreateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)
Creates a new AwsNodePool,
attached to a given AwsCluster.
If successful, the response contains a newly created
Operation resource that can be
described to track the status of the operation.
Parameters
public void deleteAwsCluster(DeleteAwsClusterRequest request, StreamObserver<Operation> responseObserver)
Deletes a specific AwsCluster
resource.
Fails if the cluster has one or more associated
AwsNodePool resources.
If successful, the response contains a newly created
Operation resource that can be
described to track the status of the operation.
Parameters
public void deleteAwsNodePool(DeleteAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)
Deletes a specific AwsNodePool
resource.
If successful, the response contains a newly created
Operation resource that can be
described to track the status of the operation.
Parameters
public void generateAwsAccessToken(GenerateAwsAccessTokenRequest request, StreamObserver<GenerateAwsAccessTokenResponse> responseObserver)
Generates a short-lived access token to authenticate to a given
AwsCluster resource.
Parameters
public void getAwsCluster(GetAwsClusterRequest request, StreamObserver<AwsCluster> responseObserver)
Describes a specific AwsCluster
resource.
Parameters
public void getAwsNodePool(GetAwsNodePoolRequest request, StreamObserver<AwsNodePool> responseObserver)
Describes a specific
AwsNodePool resource.
Parameters
public void getAwsServerConfig(GetAwsServerConfigRequest request, StreamObserver<AwsServerConfig> responseObserver)
Returns information, such as supported AWS regions and Kubernetes
versions, on a given Google Cloud location.
Parameters
public void listAwsClusters(ListAwsClustersRequest request, StreamObserver<ListAwsClustersResponse> responseObserver)
Lists all AwsCluster resources
on a given Google Cloud project and region.
Parameters
public void listAwsNodePools(ListAwsNodePoolsRequest request, StreamObserver<ListAwsNodePoolsResponse> responseObserver)
Lists all AwsNodePool
resources on a given
AwsCluster.
Parameters
public void updateAwsCluster(UpdateAwsClusterRequest request, StreamObserver<Operation> responseObserver)
Parameters
public void updateAwsNodePool(UpdateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)
Parameters