public final OperationFuture<Empty, OperationMetadata> deleteClusterAsync(String name) {
    DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build();
    return deleteClusterAsync(request);
  }
Deletes a `Cluster` resource. To avoid unintended data loss, migrate or gracefully shut down
any workloads running on the cluster before deletion. You cannot delete the management cluster
of a private cloud using this method.

<p>Sample code:

<pre>{@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 (VmwareEngineClient vmwareEngineClient = VmwareEngineClient.create()) {
  String name =
      ClusterName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]").toString();
  vmwareEngineClient.deleteClusterAsync(name).get();
}
}</pre>

@param name Required. The resource name of the cluster to delete. Resource names are schemeless
    URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
    For example:
    `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineClient.java