ScriptSecureStringExecutionParameter Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. ScriptExecutionParameter - com.
azure. resourcemanager. avs. models. ScriptSecureStringExecutionParameter
- com.
- com.
public final class ScriptSecureStringExecutionParameter
extends ScriptExecutionParameter
a plain text value execution parameter.
Constructor Summary
| Constructor | Description |
|---|---|
| ScriptSecureStringExecutionParameter() |
Creates an instance of Script |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Script |
fromJson(JsonReader jsonReader)
Reads an instance of Script |
| String |
secureValue()
Get the secure |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Script |
type()
Get the type property: script execution parameter type. |
| void |
validate()
Validates the instance. |
|
Script |
withName(String name)
Set the name property: The parameter name. |
|
Script |
withSecureValue(String secureValue)
Set the secure |
Methods inherited from ScriptExecutionParameter
Methods inherited from java.lang.Object
Constructor Details
ScriptSecureStringExecutionParameter
public ScriptSecureStringExecutionParameter()
Creates an instance of ScriptSecureStringExecutionParameter class.
Method Details
fromJson
public static ScriptSecureStringExecutionParameter fromJson(JsonReader jsonReader)
Reads an instance of ScriptSecureStringExecutionParameter from the JsonReader.
Parameters:
Returns:
Throws:
secureValue
public String secureValue()
Get the secureValue property: A secure value for the passed parameter, not to be stored in logs.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ScriptSecureStringExecutionParameter.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public ScriptExecutionParameterType type()
Get the type property: script execution parameter type.
Overrides:
ScriptSecureStringExecutionParameter.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ScriptSecureStringExecutionParameter.validate()withName
public ScriptSecureStringExecutionParameter withName(String name)
Set the name property: The parameter name.
Overrides:
ScriptSecureStringExecutionParameter.withName(String name)Parameters:
withSecureValue
public ScriptSecureStringExecutionParameter withSecureValue(String secureValue)
Set the secureValue property: A secure value for the passed parameter, not to be stored in logs.
Parameters:
Returns: