Class CommandMetadata.Builder
java.lang.Object
com.netflix.genie.common.internal.dtos.CommonMetadata.Builder<CommandMetadata.Builder>
com.netflix.genie.common.internal.dtos.CommandMetadata.Builder
- Enclosing class:
- CommandMetadata
A builder to create command user metadata instances.
- Since:
- 4.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder
(String name, String user, String version, CommandStatus 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 commanduser
- The user who owns the commandversion
- The version of the commandstatus
- The status of the command
-
-
Method Details
-
build
Build the command metadata instance.- Returns:
- Create the final read-only commandMetadata instance
-