Class ClusterMetadata.Builder
java.lang.Object
com.netflix.genie.common.internal.dtos.CommonMetadata.Builder<ClusterMetadata.Builder>
com.netflix.genie.common.internal.dtos.ClusterMetadata.Builder
- Enclosing class:
- ClusterMetadata
A builder to create cluster user metadata instances.
- Since:
- 4.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.internal.dtos.CommonMetadata.Builder
withDescription, withMetadata, withMetadata, withTags
-
Constructor Details
-
Builder
Constructor which has required fields.- Parameters:
name
- The name to use for the clusteruser
- The user who owns the clusterversion
- The version of the clusterstatus
- The status of the cluster
-
-
Method Details
-
build
Build the cluster metadata instance.- Returns:
- Create the final read-only clusterMetadata instance
-