RunCommandDocumentBaseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.fluent.models.RunCommandDocumentBaseInner

public class RunCommandDocumentBaseInner

Describes the properties of a Run Command metadata.

Constructor Summary

Constructor Description
RunCommandDocumentBaseInner()

Creates an instance of RunCommandDocumentBaseInner class.

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.

OperatingSystemTypes osType()

Get the osType property: The Operating System type.

String schema()

Get the schema property: The VM run command schema.

void validate()

Validates the instance.

RunCommandDocumentBaseInner withDescription(String description)

Set the description property: The VM run command description.

RunCommandDocumentBaseInner withId(String id)

Set the id property: The VM run command id.

RunCommandDocumentBaseInner withLabel(String label)

Set the label property: The VM run command label.

RunCommandDocumentBaseInner withOsType(OperatingSystemTypes osType)

Set the osType property: The Operating System type.

RunCommandDocumentBaseInner 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:

the description value.

id

public String id()

Get the id property: The VM run command id.

Returns:

the id value.

label

public String label()

Get the label property: The VM run command label.

Returns:

the label value.

osType

public OperatingSystemTypes osType()

Get the osType property: The Operating System type.

Returns:

the osType value.

schema

public String schema()

Get the schema property: The VM run command schema.

Returns:

the schema value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

Applies to