Interface Volume.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Volume.Builder,
,Volume> SdkBuilder<Volume.Builder,
,Volume> SdkPojo
- Enclosing class:
Volume
-
Method Summary
Modifier and TypeMethodDescriptionadministrativeActions
(Collection<AdministrativeAction> administrativeActions) A list of administrative actions for the volume that are in process or waiting to be processed.administrativeActions
(Consumer<AdministrativeAction.Builder>... administrativeActions) A list of administrative actions for the volume that are in process or waiting to be processed.administrativeActions
(AdministrativeAction... administrativeActions) A list of administrative actions for the volume that are in process or waiting to be processed.creationTime
(Instant creationTime) Sets the value of the CreationTime property for this object.fileSystemId
(String fileSystemId) Sets the value of the FileSystemId property for this object.The lifecycle status of the volume.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.lifecycleTransitionReason
(LifecycleTransitionReason lifecycleTransitionReason) The reason why the volume lifecycle status changed.The name of the volume.default Volume.Builder
ontapConfiguration
(Consumer<OntapVolumeConfiguration.Builder> ontapConfiguration) Sets the value of the OntapConfiguration property for this object.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.openZFSConfiguration
(OpenZFSVolumeConfiguration openZFSConfiguration) The configuration of an Amazon FSx for OpenZFS volume.resourceARN
(String resourceARN) Sets the value of the ResourceARN property for this object.tags
(Collection<Tag> tags) Sets the value of the Tags property for this object.tags
(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.The system-generated, unique ID of the volume.volumeType
(String volumeType) The type of the volume.volumeType
(VolumeType volumeType) The type of the volume.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
-
creationTime
Sets the value of the CreationTime property for this object.- Parameters:
creationTime
- The new value for the CreationTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemId
Sets the value of the FileSystemId property for this object.- Parameters:
fileSystemId
- The new value for the FileSystemId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
name
The name of the volume.
- Parameters:
name
- The name of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapConfiguration
Sets the value of the OntapConfiguration property for this object.- Parameters:
ontapConfiguration
- The new value for the OntapConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapConfiguration
default Volume.Builder ontapConfiguration(Consumer<OntapVolumeConfiguration.Builder> ontapConfiguration) Sets the value of the OntapConfiguration property for this object. This is a convenience method that creates an instance of theOntapVolumeConfiguration.Builder
avoiding the need to create one manually viaOntapVolumeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toontapConfiguration(OntapVolumeConfiguration)
.- Parameters:
ontapConfiguration
- a consumer that will call methods onOntapVolumeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceARN
Sets the value of the ResourceARN property for this object.- Parameters:
resourceARN
- The new value for the ResourceARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeId
The system-generated, unique ID of the volume.
- Parameters:
volumeId
- The system-generated, unique ID of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeType
The type of the volume.
- Parameters:
volumeType
- The type of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeType
The type of the volume.
- Parameters:
volumeType
- The type of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleTransitionReason
The reason why the volume lifecycle status changed.
- Parameters:
lifecycleTransitionReason
- The reason why the volume lifecycle status changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleTransitionReason
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 viaLifecycleTransitionReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycleTransitionReason(LifecycleTransitionReason)
.- Parameters:
lifecycleTransitionReason
- a consumer that will call methods onLifecycleTransitionReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 theUpdateVolume
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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 theUpdateVolume
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
administrativeActions
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
This is a convenience method that creates an instance of theUpdateVolume
action.AdministrativeAction.Builder
avoiding the need to create one manually viaAdministrativeAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadministrativeActions(List<AdministrativeAction>)
.- Parameters:
administrativeActions
- a consumer that will call methods onAdministrativeAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openZFSConfiguration
The configuration of an Amazon FSx for OpenZFS volume.
- Parameters:
openZFSConfiguration
- The configuration of an Amazon FSx for OpenZFS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openZFSConfiguration
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 viaOpenZFSVolumeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenZFSConfiguration(OpenZFSVolumeConfiguration)
.- Parameters:
openZFSConfiguration
- a consumer that will call methods onOpenZFSVolumeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-