RunCommandDocumentBaseInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. RunCommandDocumentBaseInner
- com.
Implements
public class RunCommandDocumentBaseInner
implements JsonSerializable<RunCommandDocumentBaseInner>
Describes the properties of a Run Command metadata.
Constructor Summary
Constructor | Description |
---|---|
RunCommandDocumentBaseInner() |
Creates an instance of Run |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The VM run command description. |
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
String |
id()
Get the id property: The VM run command id. |
String |
label()
Get the label property: The VM run command label. |
Operating |
osType()
Get the os |
String |
schema()
Get the schema property: The VM run command schema. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Run |
withDescription(String description)
Set the description property: The VM run command description. |
Run |
withId(String id)
Set the id property: The VM run command id. |
Run |
withLabel(String label)
Set the label property: The VM run command label. |
Run |
withOsType(OperatingSystemTypes osType)
Set the os |
Run |
withSchema(String schema)
Set the schema property: The VM run command schema. |
Methods inherited from java.lang.Object
Constructor Details
RunCommandDocumentBaseInner
public RunCommandDocumentBaseInner()
Creates an instance of RunCommandDocumentBaseInner class.
Method Details
description
public String description()
Get the description property: The VM run command description.
Returns:
fromJson
public static RunCommandDocumentBaseInner fromJson(JsonReader jsonReader)
Reads an instance of RunCommandDocumentBaseInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The VM run command id.
Returns:
label
public String label()
Get the label property: The VM run command label.
Returns:
osType
public OperatingSystemTypes osType()
Get the osType property: The Operating System type.
Returns:
schema
public String schema()
Get the schema property: The VM run command schema.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public RunCommandDocumentBaseInner withDescription(String description)
Set the description property: The VM run command description.
Parameters:
Returns:
withId
public RunCommandDocumentBaseInner withId(String id)
Set the id property: The VM run command id.
Parameters:
Returns:
withLabel
public RunCommandDocumentBaseInner withLabel(String label)
Set the label property: The VM run command label.
Parameters:
Returns:
withOsType
public RunCommandDocumentBaseInner withOsType(OperatingSystemTypes osType)
Set the osType property: The Operating System type.
Parameters:
Returns:
withSchema
public RunCommandDocumentBaseInner withSchema(String schema)
Set the schema property: The VM run command schema.
Parameters:
Returns:
Applies to
Azure SDK for Java