public static class Cluster.Builder extends ExecutionEnvironmentDTO.Builder<Cluster.Builder>
Constructor and Description |
---|
Builder(java.lang.String name,
java.lang.String user,
java.lang.String version,
ClusterStatus status)
Constructor which has required fields.
|
Modifier and Type | Method and Description |
---|---|
Cluster |
build()
Build the cluster.
|
withConfigs, withDependencies, withSetupFile
withDescription, withMetadata, withMetadata, withTags
withCreated, withId, withUpdated
public Builder(java.lang.String name, java.lang.String user, java.lang.String version, ClusterStatus status)
name
- The name to use for the Clusteruser
- The user to use for the Clusterversion
- The version to use for the Clusterstatus
- The status of the Clusterpublic Cluster build()