Interface EbsInstanceBlockDevice.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EbsInstanceBlockDevice.Builder,
,EbsInstanceBlockDevice> SdkBuilder<EbsInstanceBlockDevice.Builder,
,EbsInstanceBlockDevice> SdkPojo
- Enclosing class:
EbsInstanceBlockDevice
-
Method Summary
Modifier and TypeMethodDescriptionassociatedResource
(String associatedResource) The ARN of the Amazon Web Services-managed resource 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.default EbsInstanceBlockDevice.Builder
operator
(Consumer<OperatorResponse.Builder> operator) The service provider that manages the EBS volume.operator
(OperatorResponse operator) The service provider that manages the EBS volume.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, sdkFieldNameToField, 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 Web Services-managed resource to which the volume is attached.
- Parameters:
associatedResource
- The ARN of the Amazon Web Services-managed resource 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 Amazon Web Services-managed resources.
- 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 Amazon Web Services-managed resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The service provider that manages the EBS volume.
This is a convenience method that creates an instance of theOperatorResponse.Builder
avoiding the need to create one manually viaOperatorResponse.builder()
.When the
Consumer
completes,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:
-