public static interface VolumeStatusItem.Builder extends CopyableBuilder<VolumeStatusItem.Builder,VolumeStatusItem>
Modifier and Type | Method and Description |
---|---|
VolumeStatusItem.Builder |
actions(Collection<VolumeStatusAction> actions)
The details of the operation.
|
VolumeStatusItem.Builder |
actions(VolumeStatusAction... actions)
The details of the operation.
|
VolumeStatusItem.Builder |
availabilityZone(String availabilityZone)
The Availability Zone of the volume.
|
VolumeStatusItem.Builder |
events(Collection<VolumeStatusEvent> events)
A list of events associated with the volume.
|
VolumeStatusItem.Builder |
events(VolumeStatusEvent... events)
A list of events associated with the volume.
|
VolumeStatusItem.Builder |
volumeId(String volumeId)
The volume ID.
|
default VolumeStatusItem.Builder |
volumeStatus(Consumer<VolumeStatusInfo.Builder> volumeStatus)
The volume status.
|
VolumeStatusItem.Builder |
volumeStatus(VolumeStatusInfo volumeStatus)
The volume status.
|
copy
apply, build
VolumeStatusItem.Builder actions(Collection<VolumeStatusAction> actions)
The details of the operation.
actions
- The details of the operation.VolumeStatusItem.Builder actions(VolumeStatusAction... actions)
The details of the operation.
actions
- The details of the operation.VolumeStatusItem.Builder availabilityZone(String availabilityZone)
The Availability Zone of the volume.
availabilityZone
- The Availability Zone of the volume.VolumeStatusItem.Builder events(Collection<VolumeStatusEvent> events)
A list of events associated with the volume.
events
- A list of events associated with the volume.VolumeStatusItem.Builder events(VolumeStatusEvent... events)
A list of events associated with the volume.
events
- A list of events associated with the volume.VolumeStatusItem.Builder volumeId(String volumeId)
The volume ID.
volumeId
- The volume ID.VolumeStatusItem.Builder volumeStatus(VolumeStatusInfo volumeStatus)
The volume status.
volumeStatus
- The volume status.default VolumeStatusItem.Builder volumeStatus(Consumer<VolumeStatusInfo.Builder> volumeStatus)
The volume status.
This is a convenience that creates an instance of theVolumeStatusInfo.Builder
avoiding the need to
create one manually via VolumeStatusInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to volumeStatus(VolumeStatusInfo)
.volumeStatus
- a consumer that will call methods on VolumeStatusInfo.Builder
volumeStatus(VolumeStatusInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.