Package com.netflix.genie.common.dto
Class Cluster.Builder
java.lang.Object
com.netflix.genie.common.dto.BaseDTO.Builder<T>
com.netflix.genie.common.dto.CommonDTO.Builder<T>
com.netflix.genie.common.dto.ExecutionEnvironmentDTO.Builder<Cluster.Builder>
com.netflix.genie.common.dto.Cluster.Builder
- Enclosing class:
- Cluster
A builder to create clusters.
- Since:
- 3.0.0
-
Constructor Summary
ConstructorDescriptionBuilder
(String name, String user, String version, ClusterStatus status) Constructor which has required fields. -
Method Summary
Methods inherited from class com.netflix.genie.common.dto.ExecutionEnvironmentDTO.Builder
withConfigs, withDependencies, withSetupFile
Methods inherited from class com.netflix.genie.common.dto.CommonDTO.Builder
withDescription, withMetadata, withMetadata, withTags
Methods inherited from class com.netflix.genie.common.dto.BaseDTO.Builder
withCreated, withId, withUpdated
-
Constructor Details
-
Builder
Constructor which has required fields.- Parameters:
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 Cluster
-
-
Method Details
-
build
Build the cluster.- Returns:
- Create the final read-only Cluster instance
-