Interface AwsEc2VolumeAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2VolumeAttachment.Builder,
,AwsEc2VolumeAttachment> SdkBuilder<AwsEc2VolumeAttachment.Builder,
,AwsEc2VolumeAttachment> SdkPojo
- Enclosing class:
AwsEc2VolumeAttachment
public static interface AwsEc2VolumeAttachment.Builder
extends SdkPojo, CopyableBuilder<AwsEc2VolumeAttachment.Builder,AwsEc2VolumeAttachment>
-
Method Summary
Modifier and TypeMethodDescriptionattachTime
(String attachTime) The datetime when the attachment initiated.deleteOnTermination
(Boolean deleteOnTermination) Whether the EBS volume is deleted when the EC2 instance is terminated.instanceId
(String instanceId) The identifier of the EC2 instance.The attachment state of the volume.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 Details
-
attachTime
The datetime when the attachment initiated.
- Parameters:
attachTime
- The datetime when the attachment initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteOnTermination
Whether the EBS volume is deleted when the EC2 instance is terminated.
- Parameters:
deleteOnTermination
- Whether the EBS volume is deleted when the EC2 instance is terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The identifier of the EC2 instance.
- Parameters:
instanceId
- The identifier of the EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The attachment state of the volume. Valid values are as follows:
-
attaching
-
attached
-
busy
-
detaching
-
detached
- Parameters:
status
- The attachment state of the volume. Valid values are as follows:-
attaching
-
attached
-
busy
-
detaching
-
detached
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-