public final class RunCommandParameterDefinition extends Object
| Constructor and Description |
|---|
RunCommandParameterDefinition() |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultValue()
Get the defaultValue property: The run command parameter default value.
|
String |
name()
Get the name property: The run command parameter name.
|
Boolean |
required()
Get the required property: The run command parameter required.
|
String |
type()
Get the type property: The run command parameter type.
|
void |
validate()
Validates the instance.
|
RunCommandParameterDefinition |
withDefaultValue(String defaultValue)
Set the defaultValue property: The run command parameter default value.
|
RunCommandParameterDefinition |
withName(String name)
Set the name property: The run command parameter name.
|
RunCommandParameterDefinition |
withRequired(Boolean required)
Set the required property: The run command parameter required.
|
RunCommandParameterDefinition |
withType(String type)
Set the type property: The run command parameter type.
|
public String name()
public RunCommandParameterDefinition withName(String name)
name - the name value to set.public String type()
public RunCommandParameterDefinition withType(String type)
type - the type value to set.public String defaultValue()
public RunCommandParameterDefinition withDefaultValue(String defaultValue)
defaultValue - the defaultValue value to set.public Boolean required()
public RunCommandParameterDefinition withRequired(Boolean required)
required - the required value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.