Interface VirtualMachineDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualMachineDetails.Builder,VirtualMachineDetails>,SdkBuilder<VirtualMachineDetails.Builder,VirtualMachineDetails>,SdkPojo
- Enclosing class:
- VirtualMachineDetails
public static interface VirtualMachineDetails.Builder extends SdkPojo, CopyableBuilder<VirtualMachineDetails.Builder,VirtualMachineDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineDetails.BuilderhostName(String hostName)The host name of the virtual machine.VirtualMachineDetails.BuilderhypervisorId(String hypervisorId)The ID of the virtual machine's hypervisor.VirtualMachineDetails.BuilderlastBackupDate(Instant lastBackupDate)The most recent date a virtual machine was backed up, in Unix format and UTC time.VirtualMachineDetails.Buildername(String name)The name of the virtual machine.VirtualMachineDetails.Builderpath(String path)The path of the virtual machine.VirtualMachineDetails.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the virtual machine.VirtualMachineDetails.BuildervmwareTags(Collection<VmwareTag> vmwareTags)These are the details of the VMware tags associated with the specified virtual machine.VirtualMachineDetails.BuildervmwareTags(Consumer<VmwareTag.Builder>... vmwareTags)These are the details of the VMware tags associated with the specified virtual machine.VirtualMachineDetails.BuildervmwareTags(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, sdkFields
-
-
-
-
Method Detail
-
hostName
VirtualMachineDetails.Builder hostName(String 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
VirtualMachineDetails.Builder hypervisorId(String 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
VirtualMachineDetails.Builder lastBackupDate(Instant 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
VirtualMachineDetails.Builder name(String 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
VirtualMachineDetails.Builder path(String 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
VirtualMachineDetails.Builder resourceArn(String 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
VirtualMachineDetails.Builder vmwareTags(Collection<VmwareTag> 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
VirtualMachineDetails.Builder vmwareTags(VmwareTag... 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
VirtualMachineDetails.Builder vmwareTags(Consumer<VmwareTag.Builder>... 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.Builderavoiding the need to create one manually viaVmwareTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vmwareTags(List.) - 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:
#vmwareTags(java.util.Collection)
-
-