Class CommandMetadata.Builder
- java.lang.Object
- 
- com.netflix.genie.common.external.dtos.v4.CommonMetadata.Builder<CommandMetadata.Builder>
- 
- com.netflix.genie.common.external.dtos.v4.CommandMetadata.Builder
 
 
- 
- Enclosing class:
- CommandMetadata
 
 public static class CommandMetadata.Builder extends CommonMetadata.Builder<CommandMetadata.Builder> A builder to create command user metadata instances.- Since:
- 4.0.0
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder(java.lang.String name, java.lang.String user, java.lang.String version, CommandStatus status)Constructor which has required fields.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandMetadatabuild()Build the command metadata instance.- 
Methods inherited from class com.netflix.genie.common.external.dtos.v4.CommonMetadata.BuilderwithDescription, withMetadata, withMetadata, withTags
 
- 
 
- 
- 
- 
Constructor Detail- 
Builderpublic Builder(java.lang.String name, java.lang.String user, java.lang.String version, CommandStatus status)Constructor which has required fields.- Parameters:
- name- The name to use for the command
- user- The user who owns the command
- version- The version of the command
- status- The status of the command
 
 
- 
 - 
Method Detail- 
buildpublic CommandMetadata build() Build the command metadata instance.- Returns:
- Create the final read-only commandMetadata instance
 
 
- 
 
-