RunCommandInputParameter Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RunCommandInputParameter
- com.
Implements
public final class RunCommandInputParameter
implements JsonSerializable<RunCommandInputParameter>
Describes the properties of a run command parameter.
Constructor Summary
Constructor | Description |
---|---|
RunCommandInputParameter() |
Creates an instance of Run |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
String |
name()
Get the name property: The run command parameter name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The run command parameter value. |
Run |
withName(String name)
Set the name property: The run command parameter name. |
Run |
withValue(String value)
Set the value property: The run command parameter value. |
Methods inherited from java.lang.Object
Constructor Details
RunCommandInputParameter
public RunCommandInputParameter()
Creates an instance of RunCommandInputParameter class.
Method Details
fromJson
public static RunCommandInputParameter fromJson(JsonReader jsonReader)
Reads an instance of RunCommandInputParameter from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The run command parameter name.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The run command parameter value.
Returns:
withName
public RunCommandInputParameter withName(String name)
Set the name property: The run command parameter name.
Parameters:
Returns:
withValue
public RunCommandInputParameter withValue(String value)
Set the value property: The run command parameter value.
Parameters:
Returns:
Applies to
Azure SDK for Java