Class ScriptStringExecutionParameter
- java.lang.Object
-
- com.azure.resourcemanager.avs.models.ScriptExecutionParameter
-
- com.azure.resourcemanager.avs.models.ScriptStringExecutionParameter
-
public final class ScriptStringExecutionParameter extends ScriptExecutionParameter
a plain text value execution parameter.
-
-
Constructor Summary
Constructors Constructor Description ScriptStringExecutionParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.String
value()
Get the value property: The value for the passed parameter.ScriptStringExecutionParameter
withName(String name)
Set the name property: The parameter name.ScriptStringExecutionParameter
withValue(String value)
Set the value property: The value for the passed parameter.-
Methods inherited from class com.azure.resourcemanager.avs.models.ScriptExecutionParameter
name
-
-
-
-
Method Detail
-
value
public String value()
Get the value property: The value for the passed parameter.- Returns:
- the value value.
-
withValue
public ScriptStringExecutionParameter withValue(String value)
Set the value property: The value for the passed parameter.- Parameters:
value
- the value value to set.- Returns:
- the ScriptStringExecutionParameter object itself.
-
withName
public ScriptStringExecutionParameter withName(String name)
Set the name property: The parameter name.- Overrides:
withName
in classScriptExecutionParameter
- Parameters:
name
- the name value to set.- Returns:
- the ScriptExecutionParameter object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classScriptExecutionParameter
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-