Interface VolumeStatusItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VolumeStatusItem.Builder,VolumeStatusItem>,SdkBuilder<VolumeStatusItem.Builder,VolumeStatusItem>,SdkPojo
- Enclosing class:
- VolumeStatusItem
public static interface VolumeStatusItem.Builder extends SdkPojo, CopyableBuilder<VolumeStatusItem.Builder,VolumeStatusItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VolumeStatusItem.Builderactions(Collection<VolumeStatusAction> actions)The details of the operation.VolumeStatusItem.Builderactions(Consumer<VolumeStatusAction.Builder>... actions)The details of the operation.VolumeStatusItem.Builderactions(VolumeStatusAction... actions)The details of the operation.VolumeStatusItem.BuilderattachmentStatuses(Collection<VolumeStatusAttachmentStatus> attachmentStatuses)Information about the instances to which the volume is attached.VolumeStatusItem.BuilderattachmentStatuses(Consumer<VolumeStatusAttachmentStatus.Builder>... attachmentStatuses)Information about the instances to which the volume is attached.VolumeStatusItem.BuilderattachmentStatuses(VolumeStatusAttachmentStatus... attachmentStatuses)Information about the instances to which the volume is attached.VolumeStatusItem.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the volume.VolumeStatusItem.Builderevents(Collection<VolumeStatusEvent> events)A list of events associated with the volume.VolumeStatusItem.Builderevents(Consumer<VolumeStatusEvent.Builder>... events)A list of events associated with the volume.VolumeStatusItem.Builderevents(VolumeStatusEvent... events)A list of events associated with the volume.VolumeStatusItem.BuilderoutpostArn(String outpostArn)The Amazon Resource Name (ARN) of the Outpost.VolumeStatusItem.BuildervolumeId(String volumeId)The volume ID.default VolumeStatusItem.BuildervolumeStatus(Consumer<VolumeStatusInfo.Builder> volumeStatus)The volume status.VolumeStatusItem.BuildervolumeStatus(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 Detail
-
actions
VolumeStatusItem.Builder actions(Collection<VolumeStatusAction> 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
VolumeStatusItem.Builder actions(VolumeStatusAction... 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
VolumeStatusItem.Builder actions(Consumer<VolumeStatusAction.Builder>... actions)
The details of the operation.
This is a convenience method that creates an instance of theVolumeStatusAction.Builderavoiding the need to create one manually viaVolumeStatusAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - 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:
#actions(java.util.Collection)
-
availabilityZone
VolumeStatusItem.Builder availabilityZone(String 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
VolumeStatusItem.Builder outpostArn(String 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
VolumeStatusItem.Builder events(Collection<VolumeStatusEvent> 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
VolumeStatusItem.Builder events(VolumeStatusEvent... 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
VolumeStatusItem.Builder events(Consumer<VolumeStatusEvent.Builder>... events)
A list of events associated with the volume.
This is a convenience method that creates an instance of theVolumeStatusEvent.Builderavoiding the need to create one manually viaVolumeStatusEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#events(List.) - 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:
#events(java.util.Collection)
-
volumeId
VolumeStatusItem.Builder volumeId(String 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
VolumeStatusItem.Builder volumeStatus(VolumeStatusInfo 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
default VolumeStatusItem.Builder volumeStatus(Consumer<VolumeStatusInfo.Builder> volumeStatus)
The volume status.
This is a convenience method that creates an instance of theVolumeStatusInfo.Builderavoiding the need to create one manually viaVolumeStatusInfo.builder().When the
Consumercompletes,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:
volumeStatus(VolumeStatusInfo)
-
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
VolumeStatusItem.Builder attachmentStatuses(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
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.Builderavoiding the need to create one manually viaVolumeStatusAttachmentStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachmentStatuses(List.) - 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:
#attachmentStatuses(java.util.Collection)
-
-