Class RunbookParameter
java.lang.Object
com.azure.resourcemanager.automation.models.RunbookParameter
Definition of the runbook parameter type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the defaultValue property: Gets or sets the default value of parameter.Get the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.position()
Get the position property: Get or sets the position of the parameter.type()
Get the type property: Gets or sets the type of the parameter.void
validate()
Validates the instance.withDefaultValue
(String defaultValue) Set the defaultValue property: Gets or sets the default value of parameter.withIsMandatory
(Boolean isMandatory) Set the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.withPosition
(Integer position) Set the position property: Get or sets the position of the parameter.Set the type property: Gets or sets the type of the parameter.
-
Constructor Details
-
RunbookParameter
public RunbookParameter()
-
-
Method Details
-
type
Get the type property: Gets or sets the type of the parameter.- Returns:
- the type value.
-
withType
Set the type property: Gets or sets the type of the parameter.- Parameters:
type
- the type value to set.- Returns:
- the RunbookParameter object itself.
-
isMandatory
Get the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.- Returns:
- the isMandatory value.
-
withIsMandatory
Set the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.- Parameters:
isMandatory
- the isMandatory value to set.- Returns:
- the RunbookParameter object itself.
-
position
Get the position property: Get or sets the position of the parameter.- Returns:
- the position value.
-
withPosition
Set the position property: Get or sets the position of the parameter.- Parameters:
position
- the position value to set.- Returns:
- the RunbookParameter object itself.
-
defaultValue
Get the defaultValue property: Gets or sets the default value of parameter.- Returns:
- the defaultValue value.
-
withDefaultValue
Set the defaultValue property: Gets or sets the default value of parameter.- Parameters:
defaultValue
- the defaultValue value to set.- Returns:
- the RunbookParameter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-