Class RunCommandDocumentBaseInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.RunCommandDocumentBaseInner
- Direct Known Subclasses:
RunCommandDocumentInner
Describes the properties of a Run Command metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RunCommandDocumentBaseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The VM run command description.id()Get the id property: The VM run command id.label()Get the label property: The VM run command label.osType()Get the osType property: The Operating System type.schema()Get the schema property: The VM run command schema.voidvalidate()Validates the instance.withDescription(String description) Set the description property: The VM run command description.Set the id property: The VM run command id.Set the label property: The VM run command label.withOsType(OperatingSystemTypes osType) Set the osType property: The Operating System type.withSchema(String schema) Set the schema property: The VM run command schema.
-
Constructor Details
-
RunCommandDocumentBaseInner
public RunCommandDocumentBaseInner()Creates an instance of RunCommandDocumentBaseInner class.
-
-
Method Details
-
schema
Get the schema property: The VM run command schema.- Returns:
- the schema value.
-
withSchema
Set the schema property: The VM run command schema.- Parameters:
schema- the schema value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
id
Get the id property: The VM run command id.- Returns:
- the id value.
-
withId
Set the id property: The VM run command id.- Parameters:
id- the id value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
osType
Get the osType property: The Operating System type.- Returns:
- the osType value.
-
withOsType
Set the osType property: The Operating System type.- Parameters:
osType- the osType value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
label
Get the label property: The VM run command label.- Returns:
- the label value.
-
withLabel
Set the label property: The VM run command label.- Parameters:
label- the label value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
description
Get the description property: The VM run command description.- Returns:
- the description value.
-
withDescription
Set the description property: The VM run command description.- Parameters:
description- the description value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-