public final OperationFuture<Cluster, OperationMetadata> createClusterAsync(
      LocationName parent, Cluster cluster, String clusterId) {
    CreateClusterRequest request =
        CreateClusterRequest.newBuilder()
            .setParent(parent == null ? null : parent.toString())
            .setCluster(cluster)
            .setClusterId(clusterId)
            .build();
    return createClusterAsync(request);
  }
Creates a new Cluster in a given project and location.

<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 (StreamsServiceClient streamsServiceClient = StreamsServiceClient.create()) {
  LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  Cluster cluster = Cluster.newBuilder().build();
  String clusterId = "clusterId561939637";
  Cluster response = streamsServiceClient.createClusterAsync(parent, cluster, clusterId).get();
}
}</pre>

@param parent Required. Value for parent.
@param cluster Required. The resource being created.
@param clusterId Required. Id of the requesting object.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/StreamsServiceClient.java