Interface VolumeStatusItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VolumeStatusItem.Builder,
,VolumeStatusItem> SdkBuilder<VolumeStatusItem.Builder,
,VolumeStatusItem> SdkPojo
- Enclosing class:
VolumeStatusItem
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<VolumeStatusAction> actions) The details of the operation.actions
(Consumer<VolumeStatusAction.Builder>... actions) The details of the operation.actions
(VolumeStatusAction... actions) The details of the operation.attachmentStatuses
(Collection<VolumeStatusAttachmentStatus> attachmentStatuses) Information about the instances to which the volume is attached.attachmentStatuses
(Consumer<VolumeStatusAttachmentStatus.Builder>... attachmentStatuses) Information about the instances to which the volume is attached.attachmentStatuses
(VolumeStatusAttachmentStatus... attachmentStatuses) Information about the instances to which the volume is attached.availabilityZone
(String availabilityZone) The Availability Zone of the volume.events
(Collection<VolumeStatusEvent> events) A list of events associated with the volume.events
(Consumer<VolumeStatusEvent.Builder>... events) A list of events associated with the volume.events
(VolumeStatusEvent... events) A list of events associated with the volume.outpostArn
(String outpostArn) The Amazon Resource Name (ARN) of the Outpost.The volume ID.default VolumeStatusItem.Builder
volumeStatus
(Consumer<VolumeStatusInfo.Builder> volumeStatus) The volume status.volumeStatus
(VolumeStatusInfo volumeStatus) The volume status.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
-
actions
The details of the operation.
- Parameters:
actions
- The details of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The details of the operation.
- Parameters:
actions
- The details of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The details of the operation.
This is a convenience method that creates an instance of theVolumeStatusAction.Builder
avoiding the need to create one manually viaVolumeStatusAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<VolumeStatusAction>)
.- Parameters:
actions
- a consumer that will call methods onVolumeStatusAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZone
The Availability Zone of the volume.
- Parameters:
availabilityZone
- The Availability Zone of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostArn
The Amazon Resource Name (ARN) of the Outpost.
- Parameters:
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of events associated with the volume.
- Parameters:
events
- A list of events associated with the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of events associated with the volume.
- Parameters:
events
- A list of events associated with the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of events associated with the volume.
This is a convenience method that creates an instance of theVolumeStatusEvent.Builder
avoiding the need to create one manually viaVolumeStatusEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<VolumeStatusEvent>)
.- Parameters:
events
- a consumer that will call methods onVolumeStatusEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeId
The volume ID.
- Parameters:
volumeId
- The volume ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeStatus
The volume status.
- Parameters:
volumeStatus
- The volume status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeStatus
The volume status.
This is a convenience method that creates an instance of theVolumeStatusInfo.Builder
avoiding the need to create one manually viaVolumeStatusInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovolumeStatus(VolumeStatusInfo)
.- Parameters:
volumeStatus
- a consumer that will call methods onVolumeStatusInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attachmentStatuses
VolumeStatusItem.Builder attachmentStatuses(Collection<VolumeStatusAttachmentStatus> attachmentStatuses) Information about the instances to which the volume is attached.
- Parameters:
attachmentStatuses
- Information about the instances to which the volume is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentStatuses
Information about the instances to which the volume is attached.
- Parameters:
attachmentStatuses
- Information about the instances to which the volume is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentStatuses
VolumeStatusItem.Builder attachmentStatuses(Consumer<VolumeStatusAttachmentStatus.Builder>... attachmentStatuses) Information about the instances to which the volume is attached.
This is a convenience method that creates an instance of theVolumeStatusAttachmentStatus.Builder
avoiding the need to create one manually viaVolumeStatusAttachmentStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachmentStatuses(List<VolumeStatusAttachmentStatus>)
.- Parameters:
attachmentStatuses
- a consumer that will call methods onVolumeStatusAttachmentStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-