public static interface Volume.Builder extends SdkPojo, CopyableBuilder<Volume.Builder,Volume>
| Modifier and Type | Method and Description |
|---|---|
Volume.Builder |
attachments(Collection<VolumeAttachment> attachments)
Information about the volume attachments.
|
Volume.Builder |
attachments(Consumer<VolumeAttachment.Builder>... attachments)
Information about the volume attachments.
|
Volume.Builder |
attachments(VolumeAttachment... attachments)
Information about the volume attachments.
|
Volume.Builder |
availabilityZone(String availabilityZone)
The Availability Zone for the volume.
|
Volume.Builder |
createTime(Instant createTime)
The time stamp when volume creation was initiated.
|
Volume.Builder |
encrypted(Boolean encrypted)
Indicates whether the volume is encrypted.
|
Volume.Builder |
fastRestored(Boolean fastRestored)
Indicates whether the volume was created using fast snapshot restore.
|
Volume.Builder |
iops(Integer iops)
The number of I/O operations per second (IOPS).
|
Volume.Builder |
kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was
used to protect the volume encryption key for the volume.
|
Volume.Builder |
multiAttachEnabled(Boolean multiAttachEnabled)
Indicates whether Amazon EBS Multi-Attach is enabled.
|
Volume.Builder |
outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
Volume.Builder |
size(Integer size)
The size of the volume, in GiBs.
|
Volume.Builder |
snapshotId(String snapshotId)
The snapshot from which the volume was created, if applicable.
|
Volume.Builder |
state(String state)
The volume state.
|
Volume.Builder |
state(VolumeState state)
The volume state.
|
Volume.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the volume.
|
Volume.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the volume.
|
Volume.Builder |
tags(Tag... tags)
Any tags assigned to the volume.
|
Volume.Builder |
throughput(Integer throughput)
The throughput that the volume supports, in MiB/s.
|
Volume.Builder |
volumeId(String volumeId)
The ID of the volume.
|
Volume.Builder |
volumeType(String volumeType)
The volume type.
|
Volume.Builder |
volumeType(VolumeType volumeType)
The volume type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVolume.Builder attachments(Collection<VolumeAttachment> attachments)
Information about the volume attachments.
attachments - Information about the volume attachments.Volume.Builder attachments(VolumeAttachment... attachments)
Information about the volume attachments.
attachments - Information about the volume attachments.Volume.Builder attachments(Consumer<VolumeAttachment.Builder>... attachments)
Information about the volume attachments.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #attachments(List) .attachments - a consumer that will call methods on List.Builder #attachments(List) Volume.Builder availabilityZone(String availabilityZone)
The Availability Zone for the volume.
availabilityZone - The Availability Zone for the volume.Volume.Builder createTime(Instant createTime)
The time stamp when volume creation was initiated.
createTime - The time stamp when volume creation was initiated.Volume.Builder encrypted(Boolean encrypted)
Indicates whether the volume is encrypted.
encrypted - Indicates whether the volume is encrypted.Volume.Builder kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the volume.
kmsKeyId - The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK)
that was used to protect the volume encryption key for the volume.Volume.Builder outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
outpostArn - The Amazon Resource Name (ARN) of the Outpost.Volume.Builder size(Integer size)
The size of the volume, in GiBs.
size - The size of the volume, in GiBs.Volume.Builder snapshotId(String snapshotId)
The snapshot from which the volume was created, if applicable.
snapshotId - The snapshot from which the volume was created, if applicable.Volume.Builder state(String state)
The volume state.
state - The volume state.VolumeState,
VolumeStateVolume.Builder state(VolumeState state)
The volume state.
state - The volume state.VolumeState,
VolumeStateVolume.Builder volumeId(String volumeId)
The ID of the volume.
volumeId - The ID of the volume.Volume.Builder iops(Integer iops)
The number of I/O operations per second (IOPS). For gp3, io1, and io2
volumes, this represents the number of IOPS that are provisioned for the volume. For gp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates
I/O credits for bursting.
iops - The number of I/O operations per second (IOPS). For gp3, io1, and
io2 volumes, this represents the number of IOPS that are provisioned for the volume. For
gp2 volumes, this represents the baseline performance of the volume and the rate at which
the volume accumulates I/O credits for bursting.Volume.Builder tags(Collection<Tag> tags)
Any tags assigned to the volume.
tags - Any tags assigned to the volume.Volume.Builder tags(Tag... tags)
Any tags assigned to the volume.
tags - Any tags assigned to the volume.Volume.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the volume.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Volume.Builder volumeType(String volumeType)
The volume type.
volumeType - The volume type.VolumeType,
VolumeTypeVolume.Builder volumeType(VolumeType volumeType)
The volume type.
volumeType - The volume type.VolumeType,
VolumeTypeVolume.Builder fastRestored(Boolean fastRestored)
Indicates whether the volume was created using fast snapshot restore.
fastRestored - Indicates whether the volume was created using fast snapshot restore.Volume.Builder multiAttachEnabled(Boolean multiAttachEnabled)
Indicates whether Amazon EBS Multi-Attach is enabled.
multiAttachEnabled - Indicates whether Amazon EBS Multi-Attach is enabled.Volume.Builder throughput(Integer throughput)
The throughput that the volume supports, in MiB/s.
throughput - The throughput that the volume supports, in MiB/s.Copyright © 2020. All rights reserved.