Class RunCommandInputParameter
java.lang.Object
com.azure.resourcemanager.compute.models.RunCommandInputParameter
Describes the properties of a run command parameter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: The run command parameter name.voidvalidate()Validates the instance.value()Get the value property: The run command parameter value.Set the name property: The run command parameter name.Set the value property: The run command parameter value.
-
Constructor Details
-
RunCommandInputParameter
public RunCommandInputParameter()
-
-
Method Details
-
name
Get the name property: The run command parameter name.- Returns:
- the name value.
-
withName
Set the name property: The run command parameter name.- Parameters:
name- the name value to set.- Returns:
- the RunCommandInputParameter object itself.
-
value
Get the value property: The run command parameter value.- Returns:
- the value value.
-
withValue
Set the value property: The run command parameter value.- Parameters:
value- the value value to set.- Returns:
- the RunCommandInputParameter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-