CopyableBuilder<Disk.Builder,Disk>
, SdkBuilder<Disk.Builder,Disk>
public static interface Disk.Builder extends CopyableBuilder<Disk.Builder,Disk>
Modifier and Type | Method | Description |
---|---|---|
Disk.Builder |
arn(String arn) |
The Amazon Resource Name (ARN) of the disk.
|
Disk.Builder |
attachedTo(String attachedTo) |
The resources to which the disk is attached.
|
Disk.Builder |
attachmentState(String attachmentState) |
The attachment state of the disk.
|
Disk.Builder |
createdAt(Date createdAt) |
The date when the disk was created.
|
Disk.Builder |
gbInUse(Integer gbInUse) |
The number of GB in use by the disk.
|
Disk.Builder |
iops(Integer iops) |
The input/output operations per second (IOPS) of the disk.
|
Disk.Builder |
isAttached(Boolean isAttached) |
A Boolean value indicating whether the disk is attached.
|
Disk.Builder |
isSystemDisk(Boolean isSystemDisk) |
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
Disk.Builder |
location(ResourceLocation location) |
The region and Availability Zone where the disk is located.
|
Disk.Builder |
name(String name) |
The name of the disk.
|
Disk.Builder |
path(String path) |
The disk path.
|
Disk.Builder |
resourceType(String resourceType) |
The resource type of the disk.
|
Disk.Builder |
resourceType(ResourceType resourceType) |
The resource type of the disk.
|
Disk.Builder |
sizeInGb(Integer sizeInGb) |
The size of the disk in GB.
|
Disk.Builder |
supportCode(String supportCode) |
The support code.
|
copy
apply, build
Disk.Builder name(String name)
The name of the disk.
name
- The name of the disk.Disk.Builder arn(String arn)
The Amazon Resource Name (ARN) of the disk.
arn
- The Amazon Resource Name (ARN) of the disk.Disk.Builder supportCode(String supportCode)
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
supportCode
- The support code. Include this code in your email to support when you have questions about an instance
or another resource in Lightsail. This code enables our support team to look up your Lightsail
information more easily.Disk.Builder createdAt(Date createdAt)
The date when the disk was created.
createdAt
- The date when the disk was created.Disk.Builder location(ResourceLocation location)
The region and Availability Zone where the disk is located.
location
- The region and Availability Zone where the disk is located.Disk.Builder resourceType(String resourceType)
The resource type of the disk.
resourceType
- The resource type of the disk.ResourceType
Disk.Builder resourceType(ResourceType resourceType)
The resource type of the disk.
resourceType
- The resource type of the disk.ResourceType
Disk.Builder sizeInGb(Integer sizeInGb)
The size of the disk in GB.
sizeInGb
- The size of the disk in GB.Disk.Builder gbInUse(Integer gbInUse)
The number of GB in use by the disk.
gbInUse
- The number of GB in use by the disk.Disk.Builder isSystemDisk(Boolean isSystemDisk)
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
isSystemDisk
- A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).Disk.Builder iops(Integer iops)
The input/output operations per second (IOPS) of the disk.
iops
- The input/output operations per second (IOPS) of the disk.Disk.Builder path(String path)
The disk path.
path
- The disk path.Disk.Builder attachedTo(String attachedTo)
The resources to which the disk is attached.
attachedTo
- The resources to which the disk is attached.Disk.Builder isAttached(Boolean isAttached)
A Boolean value indicating whether the disk is attached.
isAttached
- A Boolean value indicating whether the disk is attached.Disk.Builder attachmentState(String attachmentState)
The attachment state of the disk.
attachmentState
- The attachment state of the disk.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.