Interface VirtualMachine.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualMachine.Builder,
,VirtualMachine> SdkBuilder<VirtualMachine.Builder,
,VirtualMachine> SdkPojo
- Enclosing class:
VirtualMachine
@Mutable
@NotThreadSafe
public static interface VirtualMachine.Builder
extends SdkPojo, CopyableBuilder<VirtualMachine.Builder,VirtualMachine>
-
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.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.
-