Class VirtualMachineDetails
- java.lang.Object
-
- software.amazon.awssdk.services.backupgateway.model.VirtualMachineDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VirtualMachineDetails.Builder,VirtualMachineDetails>
@Generated("software.amazon.awssdk:codegen") public final class VirtualMachineDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualMachineDetails.Builder,VirtualMachineDetails>
Your
VirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVirtualMachineDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualMachineDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasVmwareTags()For responses, this returns true if the service returned a value for the VmwareTags property.StringhostName()The host name of the virtual machine.StringhypervisorId()The ID of the virtual machine's hypervisor.InstantlastBackupDate()The most recent date a virtual machine was backed up, in Unix format and UTC time.Stringname()The name of the virtual machine.Stringpath()The path of the virtual machine.StringresourceArn()The Amazon Resource Name (ARN) of the virtual machine.List<SdkField<?>>sdkFields()static Class<? extends VirtualMachineDetails.Builder>serializableBuilderClass()VirtualMachineDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<VmwareTag>vmwareTags()These are the details of the VMware tags associated with the specified virtual machine.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hostName
public final String hostName()
The host name of the virtual machine.
- Returns:
- The host name of the virtual machine.
-
hypervisorId
public final String hypervisorId()
The ID of the virtual machine's hypervisor.
- Returns:
- The ID of the virtual machine's hypervisor.
-
lastBackupDate
public final Instant lastBackupDate()
The most recent date a virtual machine was backed up, in Unix format and UTC time.
- Returns:
- The most recent date a virtual machine was backed up, in Unix format and UTC time.
-
name
public final String name()
The name of the virtual machine.
- Returns:
- The name of the virtual machine.
-
path
public final String path()
The path of the virtual machine.
- Returns:
- The path of the virtual machine.
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the virtual machine. For example,
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.- Returns:
- The Amazon Resource Name (ARN) of the virtual machine. For example,
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.
-
hasVmwareTags
public final boolean hasVmwareTags()
For responses, this returns true if the service returned a value for the VmwareTags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
vmwareTags
public final List<VmwareTag> vmwareTags()
These are the details of the VMware tags associated with the specified virtual machine.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasVmwareTags()method.- Returns:
- These are the details of the VMware tags associated with the specified virtual machine.
-
toBuilder
public VirtualMachineDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VirtualMachineDetails.Builder,VirtualMachineDetails>
-
builder
public static VirtualMachineDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends VirtualMachineDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-