Class RunCommandParameterDefinition
java.lang.Object
com.microsoft.azure.management.compute.RunCommandParameterDefinition
Describes the properties of a run command parameter.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the run command parameter default value.name()
Get the run command parameter name.required()
Get the run command parameter required.type()
Get the run command parameter type.withDefaultValue
(String defaultValue) Set the run command parameter default value.Set the run command parameter name.withRequired
(Boolean required) Set the run command parameter required.Set the run command parameter type.
-
Constructor Details
-
RunCommandParameterDefinition
public RunCommandParameterDefinition()
-
-
Method Details
-
name
Get the run command parameter name.- Returns:
- the name value
-
withName
Set the run command parameter name.- Parameters:
name
- the name value to set- Returns:
- the RunCommandParameterDefinition object itself.
-
type
Get the run command parameter type.- Returns:
- the type value
-
withType
Set the run command parameter type.- Parameters:
type
- the type value to set- Returns:
- the RunCommandParameterDefinition object itself.
-
defaultValue
Get the run command parameter default value.- Returns:
- the defaultValue value
-
withDefaultValue
Set the run command parameter default value.- Parameters:
defaultValue
- the defaultValue value to set- Returns:
- the RunCommandParameterDefinition object itself.
-
required
Get the run command parameter required.- Returns:
- the required value
-
withRequired
Set the run command parameter required.- Parameters:
required
- the required value to set- Returns:
- the RunCommandParameterDefinition object itself.
-