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