@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualMachineDetails extends Object implements Serializable, Cloneable, StructuredPojo
Your VirtualMachine
objects, ordered by their Amazon Resource Names (ARNs).
Constructor and Description |
---|
VirtualMachineDetails() |
Modifier and Type | Method and Description |
---|---|
VirtualMachineDetails |
clone() |
boolean |
equals(Object obj) |
String |
getHostName()
The host name of the virtual machine.
|
String |
getHypervisorId()
The ID of the virtual machine's hypervisor.
|
Date |
getLastBackupDate()
The most recent date a virtual machine was backed up, in Unix format and UTC time.
|
String |
getName()
The name of the virtual machine.
|
String |
getPath()
The path of the virtual machine.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the virtual machine.
|
List<VmwareTag> |
getVmwareTags()
These are the details of the VMware tags associated with the specified virtual machine.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHostName(String hostName)
The host name of the virtual machine.
|
void |
setHypervisorId(String hypervisorId)
The ID of the virtual machine's hypervisor.
|
void |
setLastBackupDate(Date lastBackupDate)
The most recent date a virtual machine was backed up, in Unix format and UTC time.
|
void |
setName(String name)
The name of the virtual machine.
|
void |
setPath(String path)
The path of the virtual machine.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the virtual machine.
|
void |
setVmwareTags(Collection<VmwareTag> vmwareTags)
These are the details of the VMware tags associated with the specified virtual machine.
|
String |
toString()
Returns a string representation of this object.
|
VirtualMachineDetails |
withHostName(String hostName)
The host name of the virtual machine.
|
VirtualMachineDetails |
withHypervisorId(String hypervisorId)
The ID of the virtual machine's hypervisor.
|
VirtualMachineDetails |
withLastBackupDate(Date lastBackupDate)
The most recent date a virtual machine was backed up, in Unix format and UTC time.
|
VirtualMachineDetails |
withName(String name)
The name of the virtual machine.
|
VirtualMachineDetails |
withPath(String path)
The path of the virtual machine.
|
VirtualMachineDetails |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the virtual machine.
|
VirtualMachineDetails |
withVmwareTags(Collection<VmwareTag> vmwareTags)
These are the details of the VMware tags associated with the specified virtual machine.
|
VirtualMachineDetails |
withVmwareTags(VmwareTag... vmwareTags)
These are the details of the VMware tags associated with the specified virtual machine.
|
public void setHostName(String hostName)
The host name of the virtual machine.
hostName
- The host name of the virtual machine.public String getHostName()
The host name of the virtual machine.
public VirtualMachineDetails withHostName(String hostName)
The host name of the virtual machine.
hostName
- The host name of the virtual machine.public void setHypervisorId(String hypervisorId)
The ID of the virtual machine's hypervisor.
hypervisorId
- The ID of the virtual machine's hypervisor.public String getHypervisorId()
The ID of the virtual machine's hypervisor.
public VirtualMachineDetails withHypervisorId(String hypervisorId)
The ID of the virtual machine's hypervisor.
hypervisorId
- The ID of the virtual machine's hypervisor.public void setLastBackupDate(Date lastBackupDate)
The most recent date a virtual machine was backed up, in Unix format and UTC time.
lastBackupDate
- The most recent date a virtual machine was backed up, in Unix format and UTC time.public Date getLastBackupDate()
The most recent date a virtual machine was backed up, in Unix format and UTC time.
public VirtualMachineDetails withLastBackupDate(Date lastBackupDate)
The most recent date a virtual machine was backed up, in Unix format and UTC time.
lastBackupDate
- The most recent date a virtual machine was backed up, in Unix format and UTC time.public void setName(String name)
The name of the virtual machine.
name
- The name of the virtual machine.public String getName()
The name of the virtual machine.
public VirtualMachineDetails withName(String name)
The name of the virtual machine.
name
- The name of the virtual machine.public void setPath(String path)
The path of the virtual machine.
path
- The path of the virtual machine.public String getPath()
The path of the virtual machine.
public VirtualMachineDetails withPath(String path)
The path of the virtual machine.
path
- The path of the virtual machine.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the virtual machine. For example,
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.
resourceArn
- The Amazon Resource Name (ARN) of the virtual machine. For example,
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.public String getResourceArn()
The Amazon Resource Name (ARN) of the virtual machine. For example,
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.public VirtualMachineDetails withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the virtual machine. For example,
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.
resourceArn
- The Amazon Resource Name (ARN) of the virtual machine. For example,
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.public List<VmwareTag> getVmwareTags()
These are the details of the VMware tags associated with the specified virtual machine.
public void setVmwareTags(Collection<VmwareTag> vmwareTags)
These are the details of the VMware tags associated with the specified virtual machine.
vmwareTags
- These are the details of the VMware tags associated with the specified virtual machine.public VirtualMachineDetails withVmwareTags(VmwareTag... vmwareTags)
These are the details of the VMware tags associated with the specified virtual machine.
NOTE: This method appends the values to the existing list (if any). Use
setVmwareTags(java.util.Collection)
or withVmwareTags(java.util.Collection)
if you want to
override the existing values.
vmwareTags
- These are the details of the VMware tags associated with the specified virtual machine.public VirtualMachineDetails withVmwareTags(Collection<VmwareTag> vmwareTags)
These are the details of the VMware tags associated with the specified virtual machine.
vmwareTags
- These are the details of the VMware tags associated with the specified virtual machine.public String toString()
toString
in class Object
Object.toString()
public VirtualMachineDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.