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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EbsInstanceBlockDevice.BuilderassociatedResource(String associatedResource)The ARN of the Amazon ECS or Fargate task to which the volume is attached.EbsInstanceBlockDevice.BuilderattachTime(Instant attachTime)The time stamp when the attachment initiated.EbsInstanceBlockDevice.BuilderdeleteOnTermination(Boolean deleteOnTermination)Indicates whether the volume is deleted on instance termination.EbsInstanceBlockDevice.Builderstatus(String status)The attachment state.EbsInstanceBlockDevice.Builderstatus(AttachmentStatus status)The attachment state.EbsInstanceBlockDevice.BuildervolumeId(String volumeId)The ID of the EBS volume.EbsInstanceBlockDevice.BuildervolumeOwnerId(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 Detail
-
attachTime
EbsInstanceBlockDevice.Builder attachTime(Instant 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
EbsInstanceBlockDevice.Builder deleteOnTermination(Boolean 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
EbsInstanceBlockDevice.Builder status(String 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:
AttachmentStatus,AttachmentStatus
-
status
EbsInstanceBlockDevice.Builder status(AttachmentStatus 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:
AttachmentStatus,AttachmentStatus
-
volumeId
EbsInstanceBlockDevice.Builder volumeId(String 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
EbsInstanceBlockDevice.Builder associatedResource(String 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
EbsInstanceBlockDevice.Builder volumeOwnerId(String 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.
-
-