public static interface Volume.Builder extends SdkPojo, CopyableBuilder<Volume.Builder,Volume>
| Modifier and Type | Method and Description |
|---|---|
Volume.Builder |
administrativeActions(AdministrativeAction... administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
|
Volume.Builder |
administrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
|
Volume.Builder |
administrativeActions(Consumer<AdministrativeAction.Builder>... administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
|
Volume.Builder |
creationTime(Instant creationTime)
Sets the value of the CreationTime property for this object.
|
Volume.Builder |
fileSystemId(String fileSystemId)
Sets the value of the FileSystemId property for this object.
|
Volume.Builder |
lifecycle(String lifecycle)
The lifecycle status of the volume.
|
Volume.Builder |
lifecycle(VolumeLifecycle lifecycle)
The lifecycle status of the volume.
|
default Volume.Builder |
lifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason)
The reason why the volume lifecycle status changed.
|
Volume.Builder |
lifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
The reason why the volume lifecycle status changed.
|
Volume.Builder |
name(String name)
The name of the volume.
|
default Volume.Builder |
ontapConfiguration(Consumer<OntapVolumeConfiguration.Builder> ontapConfiguration)
Sets the value of the OntapConfiguration property for this object.
|
Volume.Builder |
ontapConfiguration(OntapVolumeConfiguration ontapConfiguration)
Sets the value of the OntapConfiguration property for this object.
|
default Volume.Builder |
openZFSConfiguration(Consumer<OpenZFSVolumeConfiguration.Builder> openZFSConfiguration)
The configuration of an Amazon FSx for OpenZFS volume.
|
Volume.Builder |
openZFSConfiguration(OpenZFSVolumeConfiguration openZFSConfiguration)
The configuration of an Amazon FSx for OpenZFS volume.
|
Volume.Builder |
resourceARN(String resourceARN)
Sets the value of the ResourceARN property for this object.
|
Volume.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
Volume.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
Volume.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
Volume.Builder |
volumeId(String volumeId)
The system-generated, unique ID of the volume.
|
Volume.Builder |
volumeType(String volumeType)
The type of the volume.
|
Volume.Builder |
volumeType(VolumeType volumeType)
The type of the volume.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVolume.Builder creationTime(Instant creationTime)
creationTime - The new value for the CreationTime property for this object.Volume.Builder fileSystemId(String fileSystemId)
fileSystemId - The new value for the FileSystemId property for this object.Volume.Builder lifecycle(String lifecycle)
The lifecycle status of the volume.
AVAILABLE - The volume is fully available for use.
CREATED - The volume has been created.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx hasn't started creating the volume.
lifecycle - The lifecycle status of the volume.
AVAILABLE - The volume is fully available for use.
CREATED - The volume has been created.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx hasn't started creating the volume.
VolumeLifecycle,
VolumeLifecycleVolume.Builder lifecycle(VolumeLifecycle lifecycle)
The lifecycle status of the volume.
AVAILABLE - The volume is fully available for use.
CREATED - The volume has been created.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx hasn't started creating the volume.
lifecycle - The lifecycle status of the volume.
AVAILABLE - The volume is fully available for use.
CREATED - The volume has been created.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx hasn't started creating the volume.
VolumeLifecycle,
VolumeLifecycleVolume.Builder name(String name)
The name of the volume.
name - The name of the volume.Volume.Builder ontapConfiguration(OntapVolumeConfiguration ontapConfiguration)
ontapConfiguration - The new value for the OntapConfiguration property for this object.default Volume.Builder ontapConfiguration(Consumer<OntapVolumeConfiguration.Builder> ontapConfiguration)
OntapVolumeConfiguration.Builder
avoiding the need to create one manually via OntapVolumeConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to ontapConfiguration(OntapVolumeConfiguration).
ontapConfiguration - a consumer that will call methods on OntapVolumeConfiguration.BuilderontapConfiguration(OntapVolumeConfiguration)Volume.Builder resourceARN(String resourceARN)
resourceARN - The new value for the ResourceARN property for this object.Volume.Builder tags(Collection<Tag> tags)
tags - The new value for the Tags property for this object.Volume.Builder tags(Tag... tags)
tags - The new value for the Tags property for this object.Volume.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Volume.Builder volumeId(String volumeId)
The system-generated, unique ID of the volume.
volumeId - The system-generated, unique ID of the volume.Volume.Builder volumeType(String volumeType)
The type of the volume.
volumeType - The type of the volume.VolumeType,
VolumeTypeVolume.Builder volumeType(VolumeType volumeType)
The type of the volume.
volumeType - The type of the volume.VolumeType,
VolumeTypeVolume.Builder lifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
The reason why the volume lifecycle status changed.
lifecycleTransitionReason - The reason why the volume lifecycle status changed.default Volume.Builder lifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason)
The reason why the volume lifecycle status changed.
This is a convenience method that creates an instance of theLifecycleTransitionReason.Builder
avoiding the need to create one manually via LifecycleTransitionReason.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to lifecycleTransitionReason(LifecycleTransitionReason).
lifecycleTransitionReason - a consumer that will call methods on LifecycleTransitionReason.BuilderlifecycleTransitionReason(LifecycleTransitionReason)Volume.Builder administrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
Administrative actions describe changes to the volume that you have initiated using the
UpdateVolume action.
administrativeActions - A list of administrative actions for the volume that are in process or waiting to be processed.
Administrative actions describe changes to the volume that you have initiated using the
UpdateVolume action.Volume.Builder administrativeActions(AdministrativeAction... administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
Administrative actions describe changes to the volume that you have initiated using the
UpdateVolume action.
administrativeActions - A list of administrative actions for the volume that are in process or waiting to be processed.
Administrative actions describe changes to the volume that you have initiated using the
UpdateVolume action.Volume.Builder administrativeActions(Consumer<AdministrativeAction.Builder>... administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
Administrative actions describe changes to the volume that you have initiated using the
UpdateVolume action.
AdministrativeAction.Builder avoiding the need to create
one manually via AdministrativeAction.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #administrativeActions(List.
administrativeActions - a consumer that will call methods on
AdministrativeAction.Builder#administrativeActions(java.util.Collection) Volume.Builder openZFSConfiguration(OpenZFSVolumeConfiguration openZFSConfiguration)
The configuration of an Amazon FSx for OpenZFS volume.
openZFSConfiguration - The configuration of an Amazon FSx for OpenZFS volume.default Volume.Builder openZFSConfiguration(Consumer<OpenZFSVolumeConfiguration.Builder> openZFSConfiguration)
The configuration of an Amazon FSx for OpenZFS volume.
This is a convenience method that creates an instance of theOpenZFSVolumeConfiguration.Builder
avoiding the need to create one manually via OpenZFSVolumeConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to openZFSConfiguration(OpenZFSVolumeConfiguration).
openZFSConfiguration - a consumer that will call methods on OpenZFSVolumeConfiguration.BuilderopenZFSConfiguration(OpenZFSVolumeConfiguration)Copyright © 2023. All rights reserved.