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.availabilityZoneId
(String availabilityZoneId) The ID of the Availability Zone.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.default VolumeStatusItem.Builder
initializationStatusDetails
(Consumer<InitializationStatusDetails.Builder> initializationStatusDetails) Information about the volume initialization.initializationStatusDetails
(InitializationStatusDetails initializationStatusDetails) Information about the volume initialization.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, sdkFieldNameToField, 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:
-
initializationStatusDetails
VolumeStatusItem.Builder initializationStatusDetails(InitializationStatusDetails initializationStatusDetails) Information about the volume initialization. It can take up to 5 minutes for the volume initialization information to be updated.
Only available for volumes created from snapshots. Not available for empty volumes created without a snapshot.
For more information, see Initialize Amazon EBS volumes.
- Parameters:
initializationStatusDetails
- Information about the volume initialization. It can take up to 5 minutes for the volume initialization information to be updated.Only available for volumes created from snapshots. Not available for empty volumes created without a snapshot.
For more information, see Initialize Amazon EBS volumes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initializationStatusDetails
default VolumeStatusItem.Builder initializationStatusDetails(Consumer<InitializationStatusDetails.Builder> initializationStatusDetails) Information about the volume initialization. It can take up to 5 minutes for the volume initialization information to be updated.
Only available for volumes created from snapshots. Not available for empty volumes created without a snapshot.
For more information, see Initialize Amazon EBS volumes.
This is a convenience method that creates an instance of theInitializationStatusDetails.Builder
avoiding the need to create one manually viaInitializationStatusDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinitializationStatusDetails(InitializationStatusDetails)
.- Parameters:
initializationStatusDetails
- a consumer that will call methods onInitializationStatusDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZoneId
The ID of the Availability Zone.
- Parameters:
availabilityZoneId
- The ID of the Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-