public static class CommandMetadata.Builder extends CommonMetadata.Builder<CommandMetadata.Builder>
Constructor and Description |
---|
Builder(java.lang.String name,
java.lang.String user,
java.lang.String version,
CommandStatus status)
Constructor which has required fields.
|
Modifier and Type | Method and Description |
---|---|
CommandMetadata |
build()
Build the command metadata instance.
|
withDescription, withMetadata, withMetadata, withTags
public Builder(java.lang.String name, java.lang.String user, java.lang.String version, CommandStatus status)
name
- The name to use for the commanduser
- The user who owns the commandversion
- The version of the commandstatus
- The status of the commandpublic CommandMetadata build()