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 |
deviceName(String deviceName)
The device name for the volume that is attached to the instance.
|
AwsEc2VolumeDetails.Builder |
encrypted(Boolean encrypted)
Specifies whether the volume is encrypted.
|
AwsEc2VolumeDetails.Builder |
kmsKeyId(String kmsKeyId)
The ARN of the KMS key 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.
|
AwsEc2VolumeDetails.Builder |
volumeId(String volumeId)
The ID of the volume.
|
AwsEc2VolumeDetails.Builder |
volumeScanStatus(String volumeScanStatus)
Indicates whether the volume was scanned or skipped.
|
AwsEc2VolumeDetails.Builder |
volumeType(String volumeType)
The volume type.
|
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, and date and time should be separated by T. 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, and date and time should be separated by T.
For example, 2020-03-22T13:22:13.933Z.
AwsEc2VolumeDetails.Builder deviceName(String deviceName)
The device name for the volume that is attached to the instance.
deviceName - The device name for the volume that is attached to the instance.AwsEc2VolumeDetails.Builder encrypted(Boolean encrypted)
Specifies whether the volume is encrypted.
encrypted - Specifies 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. Valid values are as follows:
available
creating
deleted
deleting
error
in-use
status - The volume state. Valid values are as follows:
available
creating
deleted
deleting
error
in-use
AwsEc2VolumeDetails.Builder kmsKeyId(String kmsKeyId)
The ARN of the KMS key that was used to protect the volume encryption key for the volume.
kmsKeyId - The ARN of the KMS key 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 method that creates an instance of theAwsEc2VolumeAttachment.Builder avoiding the need to
create one manually via
AwsEc2VolumeAttachment.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #attachments(List.
attachments - a consumer that will call methods on
AwsEc2VolumeAttachment.Builder#attachments(java.util.Collection) AwsEc2VolumeDetails.Builder volumeId(String volumeId)
The ID of the volume.
volumeId - The ID of the volume.AwsEc2VolumeDetails.Builder volumeType(String volumeType)
The volume type.
volumeType - The volume type.AwsEc2VolumeDetails.Builder volumeScanStatus(String volumeScanStatus)
Indicates whether the volume was scanned or skipped.
volumeScanStatus - Indicates whether the volume was scanned or skipped.Copyright © 2023. All rights reserved.