Class Cluster.Builder

Enclosing class:
Cluster

public static class Cluster.Builder extends ExecutionEnvironmentDTO.Builder<Cluster.Builder>
A builder to create clusters.
Since:
3.0.0
  • Constructor Details

    • Builder

      public Builder(String name, String user, String version, ClusterStatus status)
      Constructor which has required fields.
      Parameters:
      name - The name to use for the Cluster
      user - The user to use for the Cluster
      version - The version to use for the Cluster
      status - The status of the Cluster
  • Method Details

    • build

      public Cluster build()
      Build the cluster.
      Returns:
      Create the final read-only Cluster instance