Interface EbsInstanceBlockDevice.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>,SdkBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>,SdkPojo
- Enclosing class:
- EbsInstanceBlockDevice
@Mutable @NotThreadSafe public static interface EbsInstanceBlockDevice.Builder extends SdkPojo, CopyableBuilder<EbsInstanceBlockDevice.Builder,EbsInstanceBlockDevice>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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.default EbsInstanceBlockDevice.Builderoperator(Consumer<OperatorResponse.Builder> operator)The service provider that manages the EBS volume.EbsInstanceBlockDevice.Builderoperator(OperatorResponse operator)The service provider that manages the EBS volume.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, sdkFieldNameToField, 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.
-
operator
EbsInstanceBlockDevice.Builder operator(OperatorResponse operator)
The service provider that manages the EBS volume.
- Parameters:
operator- The service provider that manages the EBS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
default EbsInstanceBlockDevice.Builder operator(Consumer<OperatorResponse.Builder> operator)
The service provider that manages the EBS volume.
This is a convenience method that creates an instance of theOperatorResponse.Builderavoiding the need to create one manually viaOperatorResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperator(OperatorResponse).- Parameters:
operator- a consumer that will call methods onOperatorResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
operator(OperatorResponse)
-
-