Interface EbsInstanceBlockDevice.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EbsInstanceBlockDevice.Builder,
,EbsInstanceBlockDevice> SdkBuilder<EbsInstanceBlockDevice.Builder,
,EbsInstanceBlockDevice> SdkPojo
- Enclosing class:
EbsInstanceBlockDevice
public static interface EbsInstanceBlockDevice.Builder
extends SdkPojo, CopyableBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedResource
(String associatedResource) The ARN of the Amazon ECS or Fargate task to which the volume is attached.attachTime
(Instant attachTime) The time stamp when the attachment initiated.deleteOnTermination
(Boolean deleteOnTermination) Indicates whether the volume is deleted on instance termination.The attachment state.status
(AttachmentStatus status) The attachment state.The ID of the EBS volume.volumeOwnerId
(String volumeOwnerId) The ID of the Amazon Web Services account that owns 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 time stamp when the attachment initiated.
- Parameters:
attachTime
- The time stamp when the attachment initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteOnTermination
Indicates whether the volume is deleted on instance termination.
- Parameters:
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The attachment state.
- Parameters:
status
- The attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The attachment state.
- Parameters:
status
- The attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeId
The ID of the EBS volume.
- Parameters:
volumeId
- The ID of the EBS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedResource
The ARN of the Amazon ECS or Fargate task to which the volume is attached.
- Parameters:
associatedResource
- The ARN of the Amazon ECS or Fargate task to which the volume is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeOwnerId
The ID of the Amazon Web Services account that owns the volume.
This parameter is returned only for volumes that are attached to Fargate tasks.
- Parameters:
volumeOwnerId
- The ID of the Amazon Web Services account that owns the volume.This parameter is returned only for volumes that are attached to Fargate tasks.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-