Interface Disk.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Disk.Builder,Disk>,SdkBuilder<Disk.Builder,Disk>,SdkPojo
- Enclosing class:
- Disk
public static interface Disk.Builder extends SdkPojo, CopyableBuilder<Disk.Builder,Disk>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Disk.BuilderdiskAllocationResource(String diskAllocationResource)The iSCSI qualified name (IQN) that is defined for a disk.Disk.BuilderdiskAllocationType(String diskAllocationType)Sets the value of the DiskAllocationType property for this object.Disk.BuilderdiskAttributeList(String... diskAttributeList)Sets the value of the DiskAttributeList property for this object.Disk.BuilderdiskAttributeList(Collection<String> diskAttributeList)Sets the value of the DiskAttributeList property for this object.Disk.BuilderdiskId(String diskId)The unique device ID or other distinguishing data that identifies a local disk.Disk.BuilderdiskNode(String diskNode)The device node of a local disk as assigned by the virtualization environment.Disk.BuilderdiskPath(String diskPath)The path of a local disk in the gateway virtual machine (VM).Disk.BuilderdiskSizeInBytes(Long diskSizeInBytes)The local disk size in bytes.Disk.BuilderdiskStatus(String diskStatus)A value that represents the status of a local disk.-
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
-
diskId
Disk.Builder diskId(String diskId)
The unique device ID or other distinguishing data that identifies a local disk.
- Parameters:
diskId- The unique device ID or other distinguishing data that identifies a local disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskPath
Disk.Builder diskPath(String diskPath)
The path of a local disk in the gateway virtual machine (VM).
- Parameters:
diskPath- The path of a local disk in the gateway virtual machine (VM).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskNode
Disk.Builder diskNode(String diskNode)
The device node of a local disk as assigned by the virtualization environment.
- Parameters:
diskNode- The device node of a local disk as assigned by the virtualization environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskStatus
Disk.Builder diskStatus(String diskStatus)
A value that represents the status of a local disk.
- Parameters:
diskStatus- A value that represents the status of a local disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskSizeInBytes
Disk.Builder diskSizeInBytes(Long diskSizeInBytes)
The local disk size in bytes.
- Parameters:
diskSizeInBytes- The local disk size in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskAllocationType
Disk.Builder diskAllocationType(String diskAllocationType)
Sets the value of the DiskAllocationType property for this object.- Parameters:
diskAllocationType- The new value for the DiskAllocationType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskAllocationResource
Disk.Builder diskAllocationResource(String diskAllocationResource)
The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.
- Parameters:
diskAllocationResource- The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskAttributeList
Disk.Builder diskAttributeList(Collection<String> diskAttributeList)
Sets the value of the DiskAttributeList property for this object.- Parameters:
diskAttributeList- The new value for the DiskAttributeList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskAttributeList
Disk.Builder diskAttributeList(String... diskAttributeList)
Sets the value of the DiskAttributeList property for this object.- Parameters:
diskAttributeList- The new value for the DiskAttributeList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-