Class ScriptSecureStringExecutionParameter
- java.lang.Object
-
- com.azure.resourcemanager.avs.models.ScriptExecutionParameter
-
- com.azure.resourcemanager.avs.models.ScriptSecureStringExecutionParameter
-
public final class ScriptSecureStringExecutionParameter extends ScriptExecutionParameter
a plain text value execution parameter.
-
-
Constructor Summary
Constructors Constructor Description ScriptSecureStringExecutionParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
secureValue()
Get the secureValue property: A secure value for the passed parameter, not to be stored in logs.void
validate()
Validates the instance.ScriptSecureStringExecutionParameter
withName(String name)
Set the name property: The parameter name.ScriptSecureStringExecutionParameter
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
-
-
-
-
Method Detail
-
secureValue
public String secureValue()
Get the secureValue property: A secure value for the passed parameter, not to be stored in logs.- Returns:
- the secureValue value.
-
withSecureValue
public ScriptSecureStringExecutionParameter withSecureValue(String secureValue)
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
public ScriptSecureStringExecutionParameter 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.
-
-