Class ScriptSecureStringExecutionParameter
java.lang.Object
com.azure.resourcemanager.avs.models.ScriptExecutionParameter
com.azure.resourcemanager.avs.models.ScriptSecureStringExecutionParameter
a plain text value execution parameter.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ScriptSecureStringExecutionParameter class. -
Method Summary
Modifier and TypeMethodDescriptionGet the secureValue property: A secure value for the passed parameter, not to be stored in logs.void
validate()
Validates the instance.Set the name property: The parameter name.withSecureValue
(String secureValue) Set the secureValue property: A secure value for the passed parameter, not to be stored in logs.Methods inherited from class com.azure.resourcemanager.avs.models.ScriptExecutionParameter
name
-
Constructor Details
-
ScriptSecureStringExecutionParameter
public ScriptSecureStringExecutionParameter()Creates an instance of ScriptSecureStringExecutionParameter class.
-
-
Method Details
-
secureValue
Get the secureValue property: A secure value for the passed parameter, not to be stored in logs.- Returns:
- the secureValue value.
-
withSecureValue
Set the secureValue property: A secure value for the passed parameter, not to be stored in logs.- Parameters:
secureValue
- the secureValue value to set.- Returns:
- the ScriptSecureStringExecutionParameter object itself.
-
withName
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.
-