Interface VirtualMachineDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualMachineDetails.Builder,
,VirtualMachineDetails> SdkBuilder<VirtualMachineDetails.Builder,
,VirtualMachineDetails> SdkPojo
- Enclosing class:
VirtualMachineDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe host name of the virtual machine.hypervisorId
(String hypervisorId) The ID of the virtual machine's hypervisor.lastBackupDate
(Instant lastBackupDate) The most recent date a virtual machine was backed up, in Unix format and UTC time.The name of the virtual machine.The path of the virtual machine.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the virtual machine.vmwareTags
(Collection<VmwareTag> vmwareTags) These are the details of the VMware tags associated with the specified virtual machine.vmwareTags
(Consumer<VmwareTag.Builder>... vmwareTags) These are the details of the VMware tags associated with the specified virtual machine.vmwareTags
(VmwareTag... vmwareTags) These are the details of the VMware tags associated with the specified virtual machine.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
hostName
The host name of the virtual machine.
- Parameters:
hostName
- The host name of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hypervisorId
The ID of the virtual machine's hypervisor.
- Parameters:
hypervisorId
- The ID of the virtual machine's hypervisor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastBackupDate
The most recent date a virtual machine was backed up, in Unix format and UTC time.
- Parameters:
lastBackupDate
- The most recent date a virtual machine was backed up, in Unix format and UTC time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the virtual machine.
- Parameters:
name
- The name of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path of the virtual machine.
- Parameters:
path
- The path of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The Amazon Resource Name (ARN) of the virtual machine. For example,
arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the virtual machine. For example,arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmwareTags
These are the details of the VMware tags associated with the specified virtual machine.
- Parameters:
vmwareTags
- These are the details of the VMware tags associated with the specified virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmwareTags
These are the details of the VMware tags associated with the specified virtual machine.
- Parameters:
vmwareTags
- These are the details of the VMware tags associated with the specified virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmwareTags
These are the details of the VMware tags associated with the specified virtual machine.
This is a convenience method that creates an instance of theVmwareTag.Builder
avoiding the need to create one manually viaVmwareTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovmwareTags(List<VmwareTag>)
.- Parameters:
vmwareTags
- a consumer that will call methods onVmwareTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-