RunCommandDocumentBaseInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. RunCommandDocumentBaseInner
- com.
public class 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. |
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. |
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:
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:
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for