# Class AwsClustersClient (0.92.0)

0.92.0 (latest) 0.90.0 0.87.0 0.86.0 0.84.0 0.82.0 0.81.0 0.80.0 0.79.0 0.77.0 0.75.0 0.74.0 0.73.0 0.72.0 0.71.0 0.69.0 0.67.0 0.66.0 0.63.0 0.62.0 0.61.0 0.59.0 0.58.0 0.57.0 0.56.0 0.55.0 0.54.0 0.53.0 0.52.0 0.51.0 0.50.0 0.48.0 0.47.0 0.46.0 0.45.0 0.44.0 0.43.0 0.42.0 0.41.0 0.40.0 0.39.0 0.38.0 0.36.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.26.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.6 0.1.0

|---|---|
| [GitHub Repository](https://github.com/googleapis/google-cloud-java/tree/main/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java) | [Product Reference](https://cloud.google.com/anthos/clusters/docs/multi-cloud) |

**Deprecated.** *This class is deprecated and will be removed in the next major version update.*

Service Description: The AwsClusters API provides a single centrally managed service to create
and manage Anthos clusters that run on AWS infrastructure.

This class provides the ability to make remote calls to the backing service through method
calls that map to API methods. Sample code to get started:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
       AwsCluster response = awsClustersClient.getAwsCluster(name);
     }
     
Note: close() needs to be called on the AwsClustersClient object to clean up resources such as
threads. In the example above, try-with-resources is used, which automatically calls close().

| Method | Description | Method Variants |
|---|---|---|
| CreateAwsCluster | Creates a new AwsCluster resource on a given Google Cloud Platform project and region. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createAwsClusterAsync(CreateAwsClusterRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - createAwsClusterAsync(LocationName parent, AwsCluster awsCluster, String awsClusterId) - createAwsClusterAsync(String parent, AwsCluster awsCluster, String awsClusterId) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createAwsClusterOperationCallable() - createAwsClusterCallable() |
| UpdateAwsCluster | Updates an AwsCluster. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - updateAwsClusterAsync(UpdateAwsClusterRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - updateAwsClusterAsync(AwsCluster awsCluster, FieldMask updateMask) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - updateAwsClusterOperationCallable() - updateAwsClusterCallable() |
| GetAwsCluster | Describes a specific AwsCluster resource. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getAwsCluster(GetAwsClusterRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getAwsCluster(AwsClusterName name) - getAwsCluster(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getAwsClusterCallable() |
| ListAwsClusters | Lists all AwsCluster resources on a given Google Cloud project and region. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listAwsClusters(ListAwsClustersRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listAwsClusters(LocationName parent) - listAwsClusters(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listAwsClustersPagedCallable() - listAwsClustersCallable() |
| DeleteAwsCluster | 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. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteAwsClusterAsync(DeleteAwsClusterRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - deleteAwsClusterAsync(AwsClusterName name) - deleteAwsClusterAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteAwsClusterOperationCallable() - deleteAwsClusterCallable() |
| GenerateAwsClusterAgentToken | Generates an access token for a cluster agent. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - generateAwsClusterAgentTokenCallable() |
| GenerateAwsAccessToken | Generates a short-lived access token to authenticate to a given AwsCluster resource. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - generateAwsAccessToken(GenerateAwsAccessTokenRequest request) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - generateAwsAccessTokenCallable() |
| CreateAwsNodePool | 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. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createAwsNodePoolAsync(CreateAwsNodePoolRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - createAwsNodePoolAsync(AwsClusterName parent, AwsNodePool awsNodePool, String awsNodePoolId) - createAwsNodePoolAsync(String parent, AwsNodePool awsNodePool, String awsNodePoolId) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createAwsNodePoolOperationCallable() - createAwsNodePoolCallable() |
| UpdateAwsNodePool | Updates an AwsNodePool. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - updateAwsNodePoolAsync(UpdateAwsNodePoolRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - updateAwsNodePoolAsync(AwsNodePool awsNodePool, FieldMask updateMask) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - updateAwsNodePoolOperationCallable() - updateAwsNodePoolCallable() |
| RollbackAwsNodePoolUpdate | Rolls back a previously aborted or failed AwsNodePool update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - rollbackAwsNodePoolUpdateAsync(RollbackAwsNodePoolUpdateRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - rollbackAwsNodePoolUpdateAsync(AwsNodePoolName name) - rollbackAwsNodePoolUpdateAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - rollbackAwsNodePoolUpdateOperationCallable() - rollbackAwsNodePoolUpdateCallable() |
| GetAwsNodePool | Describes a specific AwsNodePool resource. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getAwsNodePool(GetAwsNodePoolRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getAwsNodePool(AwsNodePoolName name) - getAwsNodePool(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getAwsNodePoolCallable() |
| ListAwsNodePools | Lists all AwsNodePool resources on a given AwsCluster. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listAwsNodePools(ListAwsNodePoolsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listAwsNodePools(AwsClusterName parent) - listAwsNodePools(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listAwsNodePoolsPagedCallable() - listAwsNodePoolsCallable() |
| DeleteAwsNodePool | 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. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteAwsNodePoolAsync(DeleteAwsNodePoolRequest request) Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. - deleteAwsNodePoolAsync(AwsNodePoolName name) - deleteAwsNodePoolAsync(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteAwsNodePoolOperationCallable() - deleteAwsNodePoolCallable() |
| GetAwsOpenIdConfig | Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getAwsOpenIdConfigCallable() |
| GetAwsJsonWebKeys | Gets the public component of the cluster signing keys in JSON Web Key format. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getAwsJsonWebKeysCallable() |
| GetAwsServerConfig | Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getAwsServerConfig(GetAwsServerConfigRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getAwsServerConfig(AwsServerConfigName name) - getAwsServerConfig(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getAwsServerConfigCallable() |
[Methods]

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with
these names, this class includes a format method for each type of name, and additionally a parse
method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of AwsClustersSettings to
create(). For example:

To customize credentials:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AwsClustersSettings awsClustersSettings =
         AwsClustersSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
             .build();
     AwsClustersClient awsClustersClient = AwsClustersClient.create(awsClustersSettings);
     
To customize the endpoint:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AwsClustersSettings awsClustersSettings =
         AwsClustersSettings.newBuilder().setEndpoint(myEndpoint).build();
     AwsClustersClient awsClustersClient = AwsClustersClient.create(awsClustersSettings);
     
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over
the wire:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     AwsClustersSettings awsClustersSettings = AwsClustersSettings.newHttpJsonBuilder().build();
     AwsClustersClient awsClustersClient = AwsClustersClient.create(awsClustersSettings);
     
Please refer to the GitHub repository's samples for more quickstart code snippets.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> AwsClustersClient

## Static Methods

### create() (deprecated)

    public static final AwsClustersClient create()

Constructs an instance of AwsClustersClient with default settings.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### create(AwsClustersSettings settings) (deprecated)

    public static final AwsClustersClient create(AwsClustersSettings settings)

Constructs an instance of AwsClustersClient, using the given settings. The channels are created
based on the settings passed in, or defaults for any settings that are not set.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### create(AwsClustersStub stub) (deprecated)

    public static final AwsClustersClient create(AwsClustersStub stub)

Constructs an instance of AwsClustersClient, using the given stub for making calls. This is for
advanced usage - prefer using create(AwsClustersSettings).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `stub` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.stub.AwsClustersStub` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient` |   |

## Constructors

### AwsClustersClient(AwsClustersSettings settings) (deprecated)

    protected AwsClustersClient(AwsClustersSettings settings)

Constructs an instance of AwsClustersClient, 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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersSettings` |

### AwsClustersClient(AwsClustersStub stub) (deprecated)

    protected AwsClustersClient(AwsClustersStub stub)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `stub` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.stub.AwsClustersStub` |

## Methods

### awaitTermination(long duration, TimeUnit unit) (deprecated)

    public boolean awaitTermination(long duration, TimeUnit unit)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `duration` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |
| `unit` | `https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html` |   |

### close() (deprecated)

    public final void close()

### createAwsClusterAsync(CreateAwsClusterRequest request) (deprecated)

    public final OperationFuture<AwsCluster,OperationMetadata> createAwsClusterAsync(CreateAwsClusterRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Creates a new AwsCluster resource on a given Google
Cloud Platform project and region.

If successful, the response contains a newly created
Operation resource that can be described to track the status of
the operation.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       CreateAwsClusterRequest request =
           CreateAwsClusterRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setAwsCluster(AwsCluster.newBuilder().build())
               .setAwsClusterId("awsClusterId1988965944")
               .setValidateOnly(true)
               .build();
       AwsCluster response = awsClustersClient.createAwsClusterAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### createAwsClusterAsync(LocationName parent, AwsCluster awsCluster, String awsClusterId) (deprecated)

    public final OperationFuture<AwsCluster,OperationMetadata> createAwsClusterAsync(LocationName parent, AwsCluster awsCluster, String awsClusterId)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Creates a new AwsCluster resource on a given Google
Cloud Platform project and region.

If successful, the response contains a newly created
Operation resource that can be described to track the status of
the operation.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       AwsCluster awsCluster = AwsCluster.newBuilder().build();
       String awsClusterId = "awsClusterId1988965944";
       AwsCluster response =
           awsClustersClient.createAwsClusterAsync(parent, awsCluster, awsClusterId).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.LocationName` Required. The parent location where this AwsCluster resource will be created. Location names are formatted as `projects/<project-id>/locations/<region>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |
| `awsCluster` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster` Required. The specification of the AwsCluster to create. |
| `awsClusterId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the AwsCluster resource name formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. Valid characters are `/a-z-/`. Cannot be longer than 63 characters. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### createAwsClusterAsync(String parent, AwsCluster awsCluster, String awsClusterId) (deprecated)

    public final OperationFuture<AwsCluster,OperationMetadata> createAwsClusterAsync(String parent, AwsCluster awsCluster, String awsClusterId)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Creates a new AwsCluster resource on a given Google
Cloud Platform project and region.

If successful, the response contains a newly created
Operation resource that can be described to track the status of
the operation.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       AwsCluster awsCluster = AwsCluster.newBuilder().build();
       String awsClusterId = "awsClusterId1988965944";
       AwsCluster response =
           awsClustersClient.createAwsClusterAsync(parent, awsCluster, awsClusterId).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent location where this AwsCluster resource will be created. Location names are formatted as `projects/<project-id>/locations/<region>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |
| `awsCluster` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster` Required. The specification of the AwsCluster to create. |
| `awsClusterId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the AwsCluster resource name formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. Valid characters are `/a-z-/`. Cannot be longer than 63 characters. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### createAwsClusterCallable() (deprecated)

    public final UnaryCallable<CreateAwsClusterRequest,Operation> createAwsClusterCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Creates a new AwsCluster resource on a given Google
Cloud Platform project and region.

If successful, the response contains a newly created
Operation resource that can be described to track the status of
the operation.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       CreateAwsClusterRequest request =
           CreateAwsClusterRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setAwsCluster(AwsCluster.newBuilder().build())
               .setAwsClusterId("awsClusterId1988965944")
               .setValidateOnly(true)
               .build();
       ApiFuture<Operation> future =
           awsClustersClient.createAwsClusterCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### createAwsClusterOperationCallable() (deprecated)

    public final OperationCallable<CreateAwsClusterRequest,AwsCluster,OperationMetadata> createAwsClusterOperationCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Creates a new AwsCluster resource on a given Google
Cloud Platform project and region.

If successful, the response contains a newly created
Operation resource that can be described to track the status of
the operation.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       CreateAwsClusterRequest request =
           CreateAwsClusterRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setAwsCluster(AwsCluster.newBuilder().build())
               .setAwsClusterId("awsClusterId1988965944")
               .setValidateOnly(true)
               .build();
       OperationFuture<AwsCluster, OperationMetadata> future =
           awsClustersClient.createAwsClusterOperationCallable().futureCall(request);
       // Do something.
       AwsCluster response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### createAwsNodePoolAsync(AwsClusterName parent, AwsNodePool awsNodePool, String awsNodePoolId) (deprecated)

    public final OperationFuture<AwsNodePool,OperationMetadata> createAwsNodePoolAsync(AwsClusterName parent, AwsNodePool awsNodePool, String awsNodePoolId)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsClusterName parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
       AwsNodePool awsNodePool = AwsNodePool.newBuilder().build();
       String awsNodePoolId = "awsNodePoolId-1885267498";
       AwsNodePool response =
           awsClustersClient.createAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClusterName` Required. The AwsCluster resource where this node pool will be created. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |
| `awsNodePool` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool` Required. The specification of the AwsNodePool to create. |
| `awsNodePoolId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the AwsNodePool resource name formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. Valid characters are `/a-z-/`. Cannot be longer than 63 characters. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### createAwsNodePoolAsync(CreateAwsNodePoolRequest request) (deprecated)

    public final OperationFuture<AwsNodePool,OperationMetadata> createAwsNodePoolAsync(CreateAwsNodePoolRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       CreateAwsNodePoolRequest request =
           CreateAwsNodePoolRequest.newBuilder()
               .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setAwsNodePool(AwsNodePool.newBuilder().build())
               .setAwsNodePoolId("awsNodePoolId-1885267498")
               .setValidateOnly(true)
               .build();
       AwsNodePool response = awsClustersClient.createAwsNodePoolAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### createAwsNodePoolAsync(String parent, AwsNodePool awsNodePool, String awsNodePoolId) (deprecated)

    public final OperationFuture<AwsNodePool,OperationMetadata> createAwsNodePoolAsync(String parent, AwsNodePool awsNodePool, String awsNodePoolId)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString();
       AwsNodePool awsNodePool = AwsNodePool.newBuilder().build();
       String awsNodePoolId = "awsNodePoolId-1885267498";
       AwsNodePool response =
           awsClustersClient.createAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The AwsCluster resource where this node pool will be created. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |
| `awsNodePool` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool` Required. The specification of the AwsNodePool to create. |
| `awsNodePoolId` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the AwsNodePool resource name formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. Valid characters are `/a-z-/`. Cannot be longer than 63 characters. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### createAwsNodePoolCallable() (deprecated)

    public final UnaryCallable<CreateAwsNodePoolRequest,Operation> createAwsNodePoolCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       CreateAwsNodePoolRequest request =
           CreateAwsNodePoolRequest.newBuilder()
               .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setAwsNodePool(AwsNodePool.newBuilder().build())
               .setAwsNodePoolId("awsNodePoolId-1885267498")
               .setValidateOnly(true)
               .build();
       ApiFuture<Operation> future =
           awsClustersClient.createAwsNodePoolCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### createAwsNodePoolOperationCallable() (deprecated)

    public final OperationCallable<CreateAwsNodePoolRequest,AwsNodePool,OperationMetadata> createAwsNodePoolOperationCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       CreateAwsNodePoolRequest request =
           CreateAwsNodePoolRequest.newBuilder()
               .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setAwsNodePool(AwsNodePool.newBuilder().build())
               .setAwsNodePoolId("awsNodePoolId-1885267498")
               .setValidateOnly(true)
               .build();
       OperationFuture<AwsNodePool, OperationMetadata> future =
           awsClustersClient.createAwsNodePoolOperationCallable().futureCall(request);
       // Do something.
       AwsNodePool response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### deleteAwsClusterAsync(AwsClusterName name) (deprecated)

    public final OperationFuture<Empty,OperationMetadata> deleteAwsClusterAsync(AwsClusterName name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
       awsClustersClient.deleteAwsClusterAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClusterName` Required. The resource name the AwsCluster to delete. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### deleteAwsClusterAsync(DeleteAwsClusterRequest request) (deprecated)

    public final OperationFuture<Empty,OperationMetadata> deleteAwsClusterAsync(DeleteAwsClusterRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       DeleteAwsClusterRequest request =
           DeleteAwsClusterRequest.newBuilder()
               .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setValidateOnly(true)
               .setAllowMissing(true)
               .setIgnoreErrors(true)
               .setEtag("etag3123477")
               .build();
       awsClustersClient.deleteAwsClusterAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### deleteAwsClusterAsync(String name) (deprecated)

    public final OperationFuture<Empty,OperationMetadata> deleteAwsClusterAsync(String name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString();
       awsClustersClient.deleteAwsClusterAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The resource name the AwsCluster to delete. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### deleteAwsClusterCallable() (deprecated)

    public final UnaryCallable<DeleteAwsClusterRequest,Operation> deleteAwsClusterCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       DeleteAwsClusterRequest request =
           DeleteAwsClusterRequest.newBuilder()
               .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setValidateOnly(true)
               .setAllowMissing(true)
               .setIgnoreErrors(true)
               .setEtag("etag3123477")
               .build();
       ApiFuture<Operation> future =
           awsClustersClient.deleteAwsClusterCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### deleteAwsClusterOperationCallable() (deprecated)

    public final OperationCallable<DeleteAwsClusterRequest,Empty,OperationMetadata> deleteAwsClusterOperationCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       DeleteAwsClusterRequest request =
           DeleteAwsClusterRequest.newBuilder()
               .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setValidateOnly(true)
               .setAllowMissing(true)
               .setIgnoreErrors(true)
               .setEtag("etag3123477")
               .build();
       OperationFuture<Empty, OperationMetadata> future =
           awsClustersClient.deleteAwsClusterOperationCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### deleteAwsNodePoolAsync(AwsNodePoolName name) (deprecated)

    public final OperationFuture<Empty,OperationMetadata> deleteAwsNodePoolAsync(AwsNodePoolName name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsNodePoolName name =
           AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
       awsClustersClient.deleteAwsNodePoolAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePoolName` Required. The resource name the AwsNodePool to delete. `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### deleteAwsNodePoolAsync(DeleteAwsNodePoolRequest request) (deprecated)

    public final OperationFuture<Empty,OperationMetadata> deleteAwsNodePoolAsync(DeleteAwsNodePoolRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       DeleteAwsNodePoolRequest request =
           DeleteAwsNodePoolRequest.newBuilder()
               .setName(
                   AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
                       .toString())
               .setValidateOnly(true)
               .setAllowMissing(true)
               .setIgnoreErrors(true)
               .setEtag("etag3123477")
               .build();
       awsClustersClient.deleteAwsNodePoolAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### deleteAwsNodePoolAsync(String name) (deprecated)

    public final OperationFuture<Empty,OperationMetadata> deleteAwsNodePoolAsync(String name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String name =
           AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
               .toString();
       awsClustersClient.deleteAwsNodePoolAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The resource name the AwsNodePool to delete. `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### deleteAwsNodePoolCallable() (deprecated)

    public final UnaryCallable<DeleteAwsNodePoolRequest,Operation> deleteAwsNodePoolCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       DeleteAwsNodePoolRequest request =
           DeleteAwsNodePoolRequest.newBuilder()
               .setName(
                   AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
                       .toString())
               .setValidateOnly(true)
               .setAllowMissing(true)
               .setIgnoreErrors(true)
               .setEtag("etag3123477")
               .build();
       ApiFuture<Operation> future =
           awsClustersClient.deleteAwsNodePoolCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### deleteAwsNodePoolOperationCallable() (deprecated)

    public final OperationCallable<DeleteAwsNodePoolRequest,Empty,OperationMetadata> deleteAwsNodePoolOperationCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

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.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       DeleteAwsNodePoolRequest request =
           DeleteAwsNodePoolRequest.newBuilder()
               .setName(
                   AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
                       .toString())
               .setValidateOnly(true)
               .setAllowMissing(true)
               .setIgnoreErrors(true)
               .setEtag("etag3123477")
               .build();
       OperationFuture<Empty, OperationMetadata> future =
           awsClustersClient.deleteAwsNodePoolOperationCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### generateAwsAccessToken(GenerateAwsAccessTokenRequest request) (deprecated)

    public final GenerateAwsAccessTokenResponse generateAwsAccessToken(GenerateAwsAccessTokenRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Generates a short-lived access token to authenticate to a given
AwsCluster resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GenerateAwsAccessTokenRequest request =
           GenerateAwsAccessTokenRequest.newBuilder()
               .setAwsCluster(
                   AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .build();
       GenerateAwsAccessTokenResponse response = awsClustersClient.generateAwsAccessToken(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse` |   |

### generateAwsAccessTokenCallable() (deprecated)

    public final UnaryCallable<GenerateAwsAccessTokenRequest,GenerateAwsAccessTokenResponse> generateAwsAccessTokenCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Generates a short-lived access token to authenticate to a given
AwsCluster resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GenerateAwsAccessTokenRequest request =
           GenerateAwsAccessTokenRequest.newBuilder()
               .setAwsCluster(
                   AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .build();
       ApiFuture<GenerateAwsAccessTokenResponse> future =
           awsClustersClient.generateAwsAccessTokenCallable().futureCall(request);
       // Do something.
       GenerateAwsAccessTokenResponse response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>` |   |

### generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request) (deprecated)

    public final GenerateAwsClusterAgentTokenResponse generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Generates an access token for a cluster agent.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GenerateAwsClusterAgentTokenRequest request =
           GenerateAwsClusterAgentTokenRequest.newBuilder()
               .setAwsCluster(
                   AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setSubjectToken("subjectToken-1519661011")
               .setSubjectTokenType("subjectTokenType1839592711")
               .setVersion("version351608024")
               .setNodePoolId("nodePoolId1121557241")
               .setGrantType("grantType-1219832202")
               .setAudience("audience975628804")
               .setScope("scope109264468")
               .setRequestedTokenType("requestedTokenType1733106949")
               .setOptions("options-1249474914")
               .build();
       GenerateAwsClusterAgentTokenResponse response =
           awsClustersClient.generateAwsClusterAgentToken(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse` |   |

### generateAwsClusterAgentTokenCallable() (deprecated)

    public final UnaryCallable<GenerateAwsClusterAgentTokenRequest,GenerateAwsClusterAgentTokenResponse> generateAwsClusterAgentTokenCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Generates an access token for a cluster agent.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GenerateAwsClusterAgentTokenRequest request =
           GenerateAwsClusterAgentTokenRequest.newBuilder()
               .setAwsCluster(
                   AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setSubjectToken("subjectToken-1519661011")
               .setSubjectTokenType("subjectTokenType1839592711")
               .setVersion("version351608024")
               .setNodePoolId("nodePoolId1121557241")
               .setGrantType("grantType-1219832202")
               .setAudience("audience975628804")
               .setScope("scope109264468")
               .setRequestedTokenType("requestedTokenType1733106949")
               .setOptions("options-1249474914")
               .build();
       ApiFuture<GenerateAwsClusterAgentTokenResponse> future =
           awsClustersClient.generateAwsClusterAgentTokenCallable().futureCall(request);
       // Do something.
       GenerateAwsClusterAgentTokenResponse response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse>` |   |

### getAwsCluster(AwsClusterName name) (deprecated)

    public final AwsCluster getAwsCluster(AwsClusterName name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Describes a specific AwsCluster resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
       AwsCluster response = awsClustersClient.getAwsCluster(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClusterName` Required. The name of the AwsCluster resource to describe. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster` |   |

### getAwsCluster(GetAwsClusterRequest request) (deprecated)

    public final AwsCluster getAwsCluster(GetAwsClusterRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Describes a specific AwsCluster resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsClusterRequest request =
           GetAwsClusterRequest.newBuilder()
               .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .build();
       AwsCluster response = awsClustersClient.getAwsCluster(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster` |   |

### getAwsCluster(String name) (deprecated)

    public final AwsCluster getAwsCluster(String name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Describes a specific AwsCluster resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString();
       AwsCluster response = awsClustersClient.getAwsCluster(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The name of the AwsCluster resource to describe. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster` |   |

### getAwsClusterCallable() (deprecated)

    public final UnaryCallable<GetAwsClusterRequest,AwsCluster> getAwsClusterCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Describes a specific AwsCluster resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsClusterRequest request =
           GetAwsClusterRequest.newBuilder()
               .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .build();
       ApiFuture<AwsCluster> future = awsClustersClient.getAwsClusterCallable().futureCall(request);
       // Do something.
       AwsCluster response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster>` |   |

### getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request) (deprecated)

    public final AwsJsonWebKeys getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Gets the public component of the cluster signing keys in JSON Web Key format.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsJsonWebKeysRequest request =
           GetAwsJsonWebKeysRequest.newBuilder()
               .setAwsCluster(
                   AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .build();
       AwsJsonWebKeys response = awsClustersClient.getAwsJsonWebKeys(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys` |   |

### getAwsJsonWebKeysCallable() (deprecated)

    public final UnaryCallable<GetAwsJsonWebKeysRequest,AwsJsonWebKeys> getAwsJsonWebKeysCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Gets the public component of the cluster signing keys in JSON Web Key format.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsJsonWebKeysRequest request =
           GetAwsJsonWebKeysRequest.newBuilder()
               .setAwsCluster(
                   AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .build();
       ApiFuture<AwsJsonWebKeys> future =
           awsClustersClient.getAwsJsonWebKeysCallable().futureCall(request);
       // Do something.
       AwsJsonWebKeys response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys>` |   |

### getAwsNodePool(AwsNodePoolName name) (deprecated)

    public final AwsNodePool getAwsNodePool(AwsNodePoolName name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Describes a specific AwsNodePool resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsNodePoolName name =
           AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
       AwsNodePool response = awsClustersClient.getAwsNodePool(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePoolName` Required. The name of the AwsNodePool resource to describe. `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool` |   |

### getAwsNodePool(GetAwsNodePoolRequest request) (deprecated)

    public final AwsNodePool getAwsNodePool(GetAwsNodePoolRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Describes a specific AwsNodePool resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsNodePoolRequest request =
           GetAwsNodePoolRequest.newBuilder()
               .setName(
                   AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
                       .toString())
               .build();
       AwsNodePool response = awsClustersClient.getAwsNodePool(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool` |   |

### getAwsNodePool(String name) (deprecated)

    public final AwsNodePool getAwsNodePool(String name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Describes a specific AwsNodePool resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String name =
           AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
               .toString();
       AwsNodePool response = awsClustersClient.getAwsNodePool(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The name of the AwsNodePool resource to describe. `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool` |   |

### getAwsNodePoolCallable() (deprecated)

    public final UnaryCallable<GetAwsNodePoolRequest,AwsNodePool> getAwsNodePoolCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Describes a specific AwsNodePool resource.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsNodePoolRequest request =
           GetAwsNodePoolRequest.newBuilder()
               .setName(
                   AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
                       .toString())
               .build();
       ApiFuture<AwsNodePool> future =
           awsClustersClient.getAwsNodePoolCallable().futureCall(request);
       // Do something.
       AwsNodePool response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool>` |   |

### getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request) (deprecated)

    public final AwsOpenIdConfig getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0
specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsOpenIdConfigRequest request =
           GetAwsOpenIdConfigRequest.newBuilder()
               .setAwsCluster(
                   AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .build();
       AwsOpenIdConfig response = awsClustersClient.getAwsOpenIdConfig(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig` |   |

### getAwsOpenIdConfigCallable() (deprecated)

    public final UnaryCallable<GetAwsOpenIdConfigRequest,AwsOpenIdConfig> getAwsOpenIdConfigCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0
specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsOpenIdConfigRequest request =
           GetAwsOpenIdConfigRequest.newBuilder()
               .setAwsCluster(
                   AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .build();
       ApiFuture<AwsOpenIdConfig> future =
           awsClustersClient.getAwsOpenIdConfigCallable().futureCall(request);
       // Do something.
       AwsOpenIdConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig>` |   |

### getAwsServerConfig(AwsServerConfigName name) (deprecated)

    public final AwsServerConfig getAwsServerConfig(AwsServerConfigName name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Returns information, such as supported AWS regions and Kubernetes versions, on a given Google
Cloud location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsServerConfigName name = AwsServerConfigName.of("[PROJECT]", "[LOCATION]");
       AwsServerConfig response = awsClustersClient.getAwsServerConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsServerConfigName` Required. The name of the AwsServerConfig resource to describe. `AwsServerConfig` names are formatted as `projects/<project-id>/locations/<region>/awsServerConfig`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsServerConfig` |   |

### getAwsServerConfig(GetAwsServerConfigRequest request) (deprecated)

    public final AwsServerConfig getAwsServerConfig(GetAwsServerConfigRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Returns information, such as supported AWS regions and Kubernetes versions, on a given Google
Cloud location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsServerConfigRequest request =
           GetAwsServerConfigRequest.newBuilder()
               .setName(AwsServerConfigName.of("[PROJECT]", "[LOCATION]").toString())
               .build();
       AwsServerConfig response = awsClustersClient.getAwsServerConfig(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsServerConfig` |   |

### getAwsServerConfig(String name) (deprecated)

    public final AwsServerConfig getAwsServerConfig(String name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Returns information, such as supported AWS regions and Kubernetes versions, on a given Google
Cloud location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String name = AwsServerConfigName.of("[PROJECT]", "[LOCATION]").toString();
       AwsServerConfig response = awsClustersClient.getAwsServerConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The name of the AwsServerConfig resource to describe. `AwsServerConfig` names are formatted as `projects/<project-id>/locations/<region>/awsServerConfig`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsServerConfig` |   |

### getAwsServerConfigCallable() (deprecated)

    public final UnaryCallable<GetAwsServerConfigRequest,AwsServerConfig> getAwsServerConfigCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Returns information, such as supported AWS regions and Kubernetes versions, on a given Google
Cloud location.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       GetAwsServerConfigRequest request =
           GetAwsServerConfigRequest.newBuilder()
               .setName(AwsServerConfigName.of("[PROJECT]", "[LOCATION]").toString())
               .build();
       ApiFuture<AwsServerConfig> future =
           awsClustersClient.getAwsServerConfigCallable().futureCall(request);
       // Do something.
       AwsServerConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsServerConfig>` |   |

### getHttpJsonOperationsClient() (deprecated)

    public final OperationsClient getHttpJsonOperationsClient()

> [!WARNING]
> **Beta**
>
> This feature is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1) of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.

Returns the OperationsClient that can be used to query the status of a long-running operation
returned by another API method call.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.longrunning.OperationsClient.html` |   |

### getOperationsClient() (deprecated)

    public final OperationsClient getOperationsClient()

Returns the OperationsClient that can be used to query the status of a long-running operation
returned by another API method call.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.OperationsClient.html` |   |

### getSettings() (deprecated)

    public final AwsClustersSettings getSettings()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersSettings` |   |

### getStub() (deprecated)

    public AwsClustersStub getStub()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.stub.AwsClustersStub` |   |

### isShutdown() (deprecated)

    public boolean isShutdown()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### isTerminated() (deprecated)

    public boolean isTerminated()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### listAwsClusters(ListAwsClustersRequest request) (deprecated)

    public final AwsClustersClient.ListAwsClustersPagedResponse listAwsClusters(ListAwsClustersRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsCluster resources on a given Google
Cloud project and region.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       ListAwsClustersRequest request =
           ListAwsClustersRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       for (AwsCluster element : awsClustersClient.listAwsClusters(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsClustersPagedResponse` |   |

### listAwsClusters(LocationName parent) (deprecated)

    public final AwsClustersClient.ListAwsClustersPagedResponse listAwsClusters(LocationName parent)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsCluster resources on a given Google
Cloud project and region.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
       for (AwsCluster element : awsClustersClient.listAwsClusters(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.LocationName` Required. The parent location which owns this collection of AwsCluster resources. Location names are formatted as `projects/<project-id>/locations/<region>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsClustersPagedResponse` |   |

### listAwsClusters(String parent) (deprecated)

    public final AwsClustersClient.ListAwsClustersPagedResponse listAwsClusters(String parent)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsCluster resources on a given Google
Cloud project and region.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
       for (AwsCluster element : awsClustersClient.listAwsClusters(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent location which owns this collection of AwsCluster resources. Location names are formatted as `projects/<project-id>/locations/<region>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsClustersPagedResponse` |   |

### listAwsClustersCallable() (deprecated)

    public final UnaryCallable<ListAwsClustersRequest,ListAwsClustersResponse> listAwsClustersCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsCluster resources on a given Google
Cloud project and region.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       ListAwsClustersRequest request =
           ListAwsClustersRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       while (true) {
         ListAwsClustersResponse response =
             awsClustersClient.listAwsClustersCallable().call(request);
         for (AwsCluster element : response.getAwsClustersList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse>` |   |

### listAwsClustersPagedCallable() (deprecated)

    public final UnaryCallable<ListAwsClustersRequest,AwsClustersClient.ListAwsClustersPagedResponse> listAwsClustersPagedCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsCluster resources on a given Google
Cloud project and region.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       ListAwsClustersRequest request =
           ListAwsClustersRequest.newBuilder()
               .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       ApiFuture<AwsCluster> future =
           awsClustersClient.listAwsClustersPagedCallable().futureCall(request);
       // Do something.
       for (AwsCluster element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsClustersPagedResponse>` |   |

### listAwsNodePools(AwsClusterName parent) (deprecated)

    public final AwsClustersClient.ListAwsNodePoolsPagedResponse listAwsNodePools(AwsClusterName parent)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsNodePool resources on a given
AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsClusterName parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
       for (AwsNodePool element : awsClustersClient.listAwsNodePools(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClusterName` Required. The parent `AwsCluster` which owns this collection of AwsNodePool resources. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsNodePoolsPagedResponse` |   |

### listAwsNodePools(ListAwsNodePoolsRequest request) (deprecated)

    public final AwsClustersClient.ListAwsNodePoolsPagedResponse listAwsNodePools(ListAwsNodePoolsRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsNodePool resources on a given
AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       ListAwsNodePoolsRequest request =
           ListAwsNodePoolsRequest.newBuilder()
               .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       for (AwsNodePool element : awsClustersClient.listAwsNodePools(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsNodePoolsPagedResponse` |   |

### listAwsNodePools(String parent) (deprecated)

    public final AwsClustersClient.ListAwsNodePoolsPagedResponse listAwsNodePools(String parent)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsNodePool resources on a given
AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString();
       for (AwsNodePool element : awsClustersClient.listAwsNodePools(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent `AwsCluster` which owns this collection of AwsNodePool resources. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsNodePoolsPagedResponse` |   |

### listAwsNodePoolsCallable() (deprecated)

    public final UnaryCallable<ListAwsNodePoolsRequest,ListAwsNodePoolsResponse> listAwsNodePoolsCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsNodePool resources on a given
AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       ListAwsNodePoolsRequest request =
           ListAwsNodePoolsRequest.newBuilder()
               .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       while (true) {
         ListAwsNodePoolsResponse response =
             awsClustersClient.listAwsNodePoolsCallable().call(request);
         for (AwsNodePool element : response.getAwsNodePoolsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>` |   |

### listAwsNodePoolsPagedCallable() (deprecated)

    public final UnaryCallable<ListAwsNodePoolsRequest,AwsClustersClient.ListAwsNodePoolsPagedResponse> listAwsNodePoolsPagedCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Lists all AwsNodePool resources on a given
AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       ListAwsNodePoolsRequest request =
           ListAwsNodePoolsRequest.newBuilder()
               .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
               .setPageSize(883849137)
               .setPageToken("pageToken873572522")
               .build();
       ApiFuture<AwsNodePool> future =
           awsClustersClient.listAwsNodePoolsPagedCallable().futureCall(request);
       // Do something.
       for (AwsNodePool element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsNodePoolsPagedResponse>` |   |

### rollbackAwsNodePoolUpdateAsync(AwsNodePoolName name) (deprecated)

    public final OperationFuture<AwsNodePool,OperationMetadata> rollbackAwsNodePoolUpdateAsync(AwsNodePoolName name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Rolls back a previously aborted or failed
AwsNodePool update request. Makes no changes if
the last update request successfully finished. If an update request is in progress, you cannot
rollback the update. You must first cancel or let it finish unsuccessfully before you can
rollback.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsNodePoolName name =
           AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
       AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePoolName` Required. The name of the AwsNodePool resource to rollback. `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### rollbackAwsNodePoolUpdateAsync(RollbackAwsNodePoolUpdateRequest request) (deprecated)

    public final OperationFuture<AwsNodePool,OperationMetadata> rollbackAwsNodePoolUpdateAsync(RollbackAwsNodePoolUpdateRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Rolls back a previously aborted or failed
AwsNodePool update request. Makes no changes if
the last update request successfully finished. If an update request is in progress, you cannot
rollback the update. You must first cancel or let it finish unsuccessfully before you can
rollback.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       RollbackAwsNodePoolUpdateRequest request =
           RollbackAwsNodePoolUpdateRequest.newBuilder()
               .setName(
                   AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
                       .toString())
               .setRespectPdb(true)
               .build();
       AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### rollbackAwsNodePoolUpdateAsync(String name) (deprecated)

    public final OperationFuture<AwsNodePool,OperationMetadata> rollbackAwsNodePoolUpdateAsync(String name)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Rolls back a previously aborted or failed
AwsNodePool update request. Makes no changes if
the last update request successfully finished. If an update request is in progress, you cannot
rollback the update. You must first cancel or let it finish unsuccessfully before you can
rollback.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       String name =
           AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
               .toString();
       AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(name).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The name of the AwsNodePool resource to rollback. `AwsNodePool` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### rollbackAwsNodePoolUpdateCallable() (deprecated)

    public final UnaryCallable<RollbackAwsNodePoolUpdateRequest,Operation> rollbackAwsNodePoolUpdateCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Rolls back a previously aborted or failed
AwsNodePool update request. Makes no changes if
the last update request successfully finished. If an update request is in progress, you cannot
rollback the update. You must first cancel or let it finish unsuccessfully before you can
rollback.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       RollbackAwsNodePoolUpdateRequest request =
           RollbackAwsNodePoolUpdateRequest.newBuilder()
               .setName(
                   AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
                       .toString())
               .setRespectPdb(true)
               .build();
       ApiFuture<Operation> future =
           awsClustersClient.rollbackAwsNodePoolUpdateCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### rollbackAwsNodePoolUpdateOperationCallable() (deprecated)

    public final OperationCallable<RollbackAwsNodePoolUpdateRequest,AwsNodePool,OperationMetadata> rollbackAwsNodePoolUpdateOperationCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Rolls back a previously aborted or failed
AwsNodePool update request. Makes no changes if
the last update request successfully finished. If an update request is in progress, you cannot
rollback the update. You must first cancel or let it finish unsuccessfully before you can
rollback.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       RollbackAwsNodePoolUpdateRequest request =
           RollbackAwsNodePoolUpdateRequest.newBuilder()
               .setName(
                   AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
                       .toString())
               .setRespectPdb(true)
               .build();
       OperationFuture<AwsNodePool, OperationMetadata> future =
           awsClustersClient.rollbackAwsNodePoolUpdateOperationCallable().futureCall(request);
       // Do something.
       AwsNodePool response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### shutdown() (deprecated)

    public void shutdown()

### shutdownNow() (deprecated)

    public void shutdownNow()

### updateAwsClusterAsync(AwsCluster awsCluster, FieldMask updateMask) (deprecated)

    public final OperationFuture<AwsCluster,OperationMetadata> updateAwsClusterAsync(AwsCluster awsCluster, FieldMask updateMask)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Updates an AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsCluster awsCluster = AwsCluster.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
       AwsCluster response = awsClustersClient.updateAwsClusterAsync(awsCluster, updateMask).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `awsCluster` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster` Required. The AwsCluster resource to update. |
| `updateMask` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AwsCluster: \* `description`. \* `annotations`. \* `control_plane.version`. \* `authorization.admin_users`. \* `authorization.admin_groups`. \* `binary_authorization.evaluation_mode`. \* `control_plane.aws_services_authentication.role_arn`. \* `control_plane.aws_services_authentication.role_session_name`. \* `control_plane.config_encryption.kms_key_arn`. \* `control_plane.instance_type`. \* `control_plane.security_group_ids`. \* `control_plane.proxy_config`. \* `control_plane.proxy_config.secret_arn`. \* `control_plane.proxy_config.secret_version`. \* `control_plane.root_volume.size_gib`. \* `control_plane.root_volume.volume_type`. \* `control_plane.root_volume.iops`. \* `control_plane.root_volume.throughput`. \* `control_plane.root_volume.kms_key_arn`. \* `control_plane.ssh_config`. \* `control_plane.ssh_config.ec2_key_pair`. \* `control_plane.instance_placement.tenancy`. \* `control_plane.iam_instance_profile`. \* `logging_config.component_config.enable_components`. \* `control_plane.tags`. \* `monitoring_config.managed_prometheus_config.enabled`. \* `networking.per_node_pool_sg_rules_disabled`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### updateAwsClusterAsync(UpdateAwsClusterRequest request) (deprecated)

    public final OperationFuture<AwsCluster,OperationMetadata> updateAwsClusterAsync(UpdateAwsClusterRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Updates an AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       UpdateAwsClusterRequest request =
           UpdateAwsClusterRequest.newBuilder()
               .setAwsCluster(AwsCluster.newBuilder().build())
               .setValidateOnly(true)
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       AwsCluster response = awsClustersClient.updateAwsClusterAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### updateAwsClusterCallable() (deprecated)

    public final UnaryCallable<UpdateAwsClusterRequest,Operation> updateAwsClusterCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Updates an AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       UpdateAwsClusterRequest request =
           UpdateAwsClusterRequest.newBuilder()
               .setAwsCluster(AwsCluster.newBuilder().build())
               .setValidateOnly(true)
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           awsClustersClient.updateAwsClusterCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### updateAwsClusterOperationCallable() (deprecated)

    public final OperationCallable<UpdateAwsClusterRequest,AwsCluster,OperationMetadata> updateAwsClusterOperationCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Updates an AwsCluster.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       UpdateAwsClusterRequest request =
           UpdateAwsClusterRequest.newBuilder()
               .setAwsCluster(AwsCluster.newBuilder().build())
               .setValidateOnly(true)
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       OperationFuture<AwsCluster, OperationMetadata> future =
           awsClustersClient.updateAwsClusterOperationCallable().futureCall(request);
       // Do something.
       AwsCluster response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsCluster,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### updateAwsNodePoolAsync(AwsNodePool awsNodePool, FieldMask updateMask) (deprecated)

    public final OperationFuture<AwsNodePool,OperationMetadata> updateAwsNodePoolAsync(AwsNodePool awsNodePool, FieldMask updateMask)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Updates an AwsNodePool.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       AwsNodePool awsNodePool = AwsNodePool.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
       AwsNodePool response =
           awsClustersClient.updateAwsNodePoolAsync(awsNodePool, updateMask).get();
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `awsNodePool` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool` Required. The AwsNodePool resource to update. |
| `updateMask` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from AwsNodePool: \* `annotations`. \* `version`. \* `autoscaling.min_node_count`. \* `autoscaling.max_node_count`. \* `config.config_encryption.kms_key_arn`. \* `config.security_group_ids`. \* `config.root_volume.iops`. \* `config.root_volume.throughput`. \* `config.root_volume.kms_key_arn`. \* `config.root_volume.volume_type`. \* `config.root_volume.size_gib`. \* `config.proxy_config`. \* `config.proxy_config.secret_arn`. \* `config.proxy_config.secret_version`. \* `config.ssh_config`. \* `config.ssh_config.ec2_key_pair`. \* `config.instance_placement.tenancy`. \* `config.iam_instance_profile`. \* `config.labels`. \* `config.tags`. \* `config.autoscaling_metrics_collection`. \* `config.autoscaling_metrics_collection.granularity`. \* `config.autoscaling_metrics_collection.metrics`. \* `config.instance_type`. \* `management.auto_repair`. \* `management`. \* `update_settings`. \* `update_settings.surge_settings`. \* `update_settings.surge_settings.max_surge`. \* `update_settings.surge_settings.max_unavailable`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### updateAwsNodePoolAsync(UpdateAwsNodePoolRequest request) (deprecated)

    public final OperationFuture<AwsNodePool,OperationMetadata> updateAwsNodePoolAsync(UpdateAwsNodePoolRequest request)

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Updates an AwsNodePool.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       UpdateAwsNodePoolRequest request =
           UpdateAwsNodePoolRequest.newBuilder()
               .setAwsNodePool(AwsNodePool.newBuilder().build())
               .setValidateOnly(true)
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       AwsNodePool response = awsClustersClient.updateAwsNodePoolAsync(request).get();
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.longrunning.OperationFuture.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |

### updateAwsNodePoolCallable() (deprecated)

    public final UnaryCallable<UpdateAwsNodePoolRequest,Operation> updateAwsNodePoolCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Updates an AwsNodePool.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       UpdateAwsNodePoolRequest request =
           UpdateAwsNodePoolRequest.newBuilder()
               .setAwsNodePool(AwsNodePool.newBuilder().build())
               .setValidateOnly(true)
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ApiFuture<Operation> future =
           awsClustersClient.updateAwsNodePoolCallable().futureCall(request);
       // Do something.
       Operation response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

### updateAwsNodePoolOperationCallable() (deprecated)

    public final OperationCallable<UpdateAwsNodePoolRequest,AwsNodePool,OperationMetadata> updateAwsNodePoolOperationCallable()

**Deprecated.** *This method is deprecated and will be removed in the next major version update.*

Updates an AwsNodePool.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
       UpdateAwsNodePoolRequest request =
           UpdateAwsNodePoolRequest.newBuilder()
               .setAwsNodePool(AwsNodePool.newBuilder().build())
               .setValidateOnly(true)
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       OperationFuture<AwsNodePool, OperationMetadata> future =
           awsClustersClient.updateAwsNodePoolOperationCallable().futureCall(request);
       // Do something.
       AwsNodePool response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.AwsNodePool,https://docs.cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/com.google.cloud.gkemulticloud.v1.OperationMetadata>` |   |