public static interface AwsEc2VolumeDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2VolumeDetails.Builder,AwsEc2VolumeDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEc2VolumeDetails.Builder |
attachments(AwsEc2VolumeAttachment... attachments)
The volume attachments.
|
AwsEc2VolumeDetails.Builder |
attachments(Collection<AwsEc2VolumeAttachment> attachments)
The volume attachments.
|
AwsEc2VolumeDetails.Builder |
attachments(Consumer<AwsEc2VolumeAttachment.Builder>... attachments)
The volume attachments.
|
AwsEc2VolumeDetails.Builder |
createTime(String createTime)
Indicates when the volume was created.
|
AwsEc2VolumeDetails.Builder |
encrypted(Boolean encrypted)
Whether the volume is encrypted.
|
AwsEc2VolumeDetails.Builder |
kmsKeyId(String kmsKeyId)
The 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.
|
AwsEc2VolumeDetails.Builder |
size(Integer size)
The size of the volume, in GiBs.
|
AwsEc2VolumeDetails.Builder |
snapshotId(String snapshotId)
The snapshot from which the volume was created.
|
AwsEc2VolumeDetails.Builder |
status(String status)
The volume state.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2VolumeDetails.Builder createTime(String createTime)
Indicates when the volume was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
createTime - Indicates when the volume was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
AwsEc2VolumeDetails.Builder encrypted(Boolean encrypted)
Whether the volume is encrypted.
encrypted - Whether the volume is encrypted.AwsEc2VolumeDetails.Builder size(Integer size)
The size of the volume, in GiBs.
size - The size of the volume, in GiBs.AwsEc2VolumeDetails.Builder snapshotId(String snapshotId)
The snapshot from which the volume was created.
snapshotId - The snapshot from which the volume was created.AwsEc2VolumeDetails.Builder status(String status)
The volume state.
status - The volume state.AwsEc2VolumeDetails.Builder kmsKeyId(String kmsKeyId)
The 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 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.AwsEc2VolumeDetails.Builder attachments(Collection<AwsEc2VolumeAttachment> attachments)
The volume attachments.
attachments - The volume attachments.AwsEc2VolumeDetails.Builder attachments(AwsEc2VolumeAttachment... attachments)
The volume attachments.
attachments - The volume attachments.AwsEc2VolumeDetails.Builder attachments(Consumer<AwsEc2VolumeAttachment.Builder>... attachments)
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) Copyright © 2021. All rights reserved.