VirtualMachineInventoryItem Class

public final class VirtualMachineInventoryItem
extends InventoryItemProperties

The Virtual machine inventory item.

Constructor Summary

Constructor Description
VirtualMachineInventoryItem()

Method Summary

Modifier and Type Method and Description
InventoryItemDetails cloud()

Get the cloud property: Cloud inventory resource details where the VM is present.

List<String> ipAddresses()

Get the ipAddresses property: Gets or sets the nic ip addresses.

String osName()

Get the osName property: Gets or sets os name.

OsType osType()

Get the osType property: Gets or sets the type of the os.

String powerState()

Get the powerState property: Gets the power state of the virtual machine.

void validate()

Validates the instance.

VirtualMachineInventoryItem withCloud(InventoryItemDetails cloud)

Set the cloud property: Cloud inventory resource details where the VM is present.

VirtualMachineInventoryItem withIpAddresses(List<String> ipAddresses)

Set the ipAddresses property: Gets or sets the nic ip addresses.

Methods inherited from InventoryItemProperties

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineInventoryItem

public VirtualMachineInventoryItem()

Method Details

cloud

public InventoryItemDetails cloud()

Get the cloud property: Cloud inventory resource details where the VM is present.

Returns:

the cloud value.

ipAddresses

public List<String> ipAddresses()

Get the ipAddresses property: Gets or sets the nic ip addresses.

Returns:

the ipAddresses value.

osName

public String osName()

Get the osName property: Gets or sets os name.

Returns:

the osName value.

osType

public OsType osType()

Get the osType property: Gets or sets the type of the os.

Returns:

the osType value.

powerState

public String powerState()

Get the powerState property: Gets the power state of the virtual machine.

Returns:

the powerState value.

validate

public void validate()

Validates the instance.

Overrides:

VirtualMachineInventoryItem.validate()

withCloud

public VirtualMachineInventoryItem withCloud(InventoryItemDetails cloud)

Set the cloud property: Cloud inventory resource details where the VM is present.

Parameters:

cloud - the cloud value to set.

Returns:

the VirtualMachineInventoryItem object itself.

withIpAddresses

public VirtualMachineInventoryItem withIpAddresses(List<String> ipAddresses)

Set the ipAddresses property: Gets or sets the nic ip addresses.

Parameters:

ipAddresses - the ipAddresses value to set.

Returns:

the VirtualMachineInventoryItem object itself.

Applies to