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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEc2VolumeAttachment.BuilderattachTime(String attachTime)The datetime when the attachment initiated.AwsEc2VolumeAttachment.BuilderdeleteOnTermination(Boolean deleteOnTermination)Whether the EBS volume is deleted when the EC2 instance is terminated.AwsEc2VolumeAttachment.BuilderinstanceId(String instanceId)The identifier of the EC2 instance.AwsEc2VolumeAttachment.Builderstatus(String status)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attachTime
AwsEc2VolumeAttachment.Builder attachTime(String 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
AwsEc2VolumeAttachment.Builder deleteOnTermination(Boolean 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
AwsEc2VolumeAttachment.Builder instanceId(String 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
AwsEc2VolumeAttachment.Builder status(String 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.
-
-
-