Class RunCommandDocumentBaseInner
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.RunCommandDocumentBaseInner
-
- Direct Known Subclasses:
RunCommandDocumentInner
public class RunCommandDocumentBaseInner extends Object
Describes the properties of a Run Command metadata.
-
-
Constructor Summary
Constructors Constructor Description RunCommandDocumentBaseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: The VM run command description.Stringid()Get the id property: The VM run command id.Stringlabel()Get the label property: The VM run command label.OperatingSystemTypesosType()Get the osType property: The Operating System type.Stringschema()Get the schema property: The VM run command schema.voidvalidate()Validates the instance.RunCommandDocumentBaseInnerwithDescription(String description)Set the description property: The VM run command description.RunCommandDocumentBaseInnerwithId(String id)Set the id property: The VM run command id.RunCommandDocumentBaseInnerwithLabel(String label)Set the label property: The VM run command label.RunCommandDocumentBaseInnerwithOsType(OperatingSystemTypes osType)Set the osType property: The Operating System type.RunCommandDocumentBaseInnerwithSchema(String schema)Set the schema property: The VM run command schema.
-
-
-
Method Detail
-
schema
public String schema()
Get the schema property: The VM run command schema.- Returns:
- the schema value.
-
withSchema
public RunCommandDocumentBaseInner withSchema(String schema)
Set the schema property: The VM run command schema.- Parameters:
schema- the schema value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
id
public String id()
Get the id property: The VM run command id.- Returns:
- the id value.
-
withId
public RunCommandDocumentBaseInner withId(String id)
Set the id property: The VM run command id.- Parameters:
id- the id value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
osType
public OperatingSystemTypes osType()
Get the osType property: The Operating System type.- Returns:
- the osType value.
-
withOsType
public RunCommandDocumentBaseInner withOsType(OperatingSystemTypes osType)
Set the osType property: The Operating System type.- Parameters:
osType- the osType value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
label
public String label()
Get the label property: The VM run command label.- Returns:
- the label value.
-
withLabel
public RunCommandDocumentBaseInner withLabel(String label)
Set the label property: The VM run command label.- Parameters:
label- the label value to set.- Returns:
- the RunCommandDocumentBaseInner object itself.
-
description
public String description()
Get the description property: The VM run command description.- Returns:
- the description value.
-
withDescription
public RunCommandDocumentBaseInner withDescription(String description)
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.
-
-