Interface AdministrativeAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AdministrativeAction.Builder,
,AdministrativeAction> SdkBuilder<AdministrativeAction.Builder,
,AdministrativeAction> SdkPojo
- Enclosing class:
AdministrativeAction
-
Method Summary
Modifier and TypeMethodDescriptionadministrativeActionType
(String administrativeActionType) Sets the value of the AdministrativeActionType property for this object.administrativeActionType
(AdministrativeActionType administrativeActionType) Sets the value of the AdministrativeActionType property for this object.default AdministrativeAction.Builder
failureDetails
(Consumer<AdministrativeActionFailureDetails.Builder> failureDetails) Sets the value of the FailureDetails property for this object.failureDetails
(AdministrativeActionFailureDetails failureDetails) Sets the value of the FailureDetails property for this object.progressPercent
(Integer progressPercent) The percentage-complete status of aSTORAGE_OPTIMIZATION
administrative action.remainingTransferBytes
(Long remainingTransferBytes) The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.requestTime
(Instant requestTime) The time that the administrative action request was received.The status of the administrative action, as follows:The status of the administrative action, as follows:default AdministrativeAction.Builder
targetFileSystemValues
(Consumer<FileSystem.Builder> targetFileSystemValues) The target value for the administration action, provided in theUpdateFileSystem
operation.targetFileSystemValues
(FileSystem targetFileSystemValues) The target value for the administration action, provided in theUpdateFileSystem
operation.default AdministrativeAction.Builder
targetSnapshotValues
(Consumer<Snapshot.Builder> targetSnapshotValues) Sets the value of the TargetSnapshotValues property for this object.targetSnapshotValues
(Snapshot targetSnapshotValues) Sets the value of the TargetSnapshotValues property for this object.default AdministrativeAction.Builder
targetVolumeValues
(Consumer<Volume.Builder> targetVolumeValues) Sets the value of the TargetVolumeValues property for this object.targetVolumeValues
(Volume targetVolumeValues) Sets the value of the TargetVolumeValues property for this object.totalTransferBytes
(Long totalTransferBytes) The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.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 Details
-
administrativeActionType
Sets the value of the AdministrativeActionType property for this object.- Parameters:
administrativeActionType
- The new value for the AdministrativeActionType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
administrativeActionType
AdministrativeAction.Builder administrativeActionType(AdministrativeActionType administrativeActionType) Sets the value of the AdministrativeActionType property for this object.- Parameters:
administrativeActionType
- The new value for the AdministrativeActionType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
progressPercent
The percentage-complete status of a
STORAGE_OPTIMIZATION
administrative action. Does not apply to any other administrative action type.- Parameters:
progressPercent
- The percentage-complete status of aSTORAGE_OPTIMIZATION
administrative action. Does not apply to any other administrative action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestTime
The time that the administrative action request was received.
- Parameters:
requestTime
- The time that the administrative action request was received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the administrative action, as follows:
-
FAILED
- Amazon FSx failed to process the administrative action successfully. -
IN_PROGRESS
- Amazon FSx is processing the administrative action. -
PENDING
- Amazon FSx is waiting to process the administrative action. -
COMPLETED
- Amazon FSx has finished processing the administrative task. -
UPDATED_OPTIMIZING
- For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.
- Parameters:
status
- The status of the administrative action, as follows:-
FAILED
- Amazon FSx failed to process the administrative action successfully. -
IN_PROGRESS
- Amazon FSx is processing the administrative action. -
PENDING
- Amazon FSx is waiting to process the administrative action. -
COMPLETED
- Amazon FSx has finished processing the administrative task. -
UPDATED_OPTIMIZING
- For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the administrative action, as follows:
-
FAILED
- Amazon FSx failed to process the administrative action successfully. -
IN_PROGRESS
- Amazon FSx is processing the administrative action. -
PENDING
- Amazon FSx is waiting to process the administrative action. -
COMPLETED
- Amazon FSx has finished processing the administrative task. -
UPDATED_OPTIMIZING
- For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.
- Parameters:
status
- The status of the administrative action, as follows:-
FAILED
- Amazon FSx failed to process the administrative action successfully. -
IN_PROGRESS
- Amazon FSx is processing the administrative action. -
PENDING
- Amazon FSx is waiting to process the administrative action. -
COMPLETED
- Amazon FSx has finished processing the administrative task. -
UPDATED_OPTIMIZING
- For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
targetFileSystemValues
The target value for the administration action, provided in the
UpdateFileSystem
operation. Returned forFILE_SYSTEM_UPDATE
administrative actions.- Parameters:
targetFileSystemValues
- The target value for the administration action, provided in theUpdateFileSystem
operation. Returned forFILE_SYSTEM_UPDATE
administrative actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetFileSystemValues
default AdministrativeAction.Builder targetFileSystemValues(Consumer<FileSystem.Builder> targetFileSystemValues) The target value for the administration action, provided in the
This is a convenience method that creates an instance of theUpdateFileSystem
operation. Returned forFILE_SYSTEM_UPDATE
administrative actions.FileSystem.Builder
avoiding the need to create one manually viaFileSystem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetFileSystemValues(FileSystem)
.- Parameters:
targetFileSystemValues
- a consumer that will call methods onFileSystem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureDetails
Sets the value of the FailureDetails property for this object.- Parameters:
failureDetails
- The new value for the FailureDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureDetails
default AdministrativeAction.Builder failureDetails(Consumer<AdministrativeActionFailureDetails.Builder> failureDetails) Sets the value of the FailureDetails property for this object. This is a convenience method that creates an instance of theAdministrativeActionFailureDetails.Builder
avoiding the need to create one manually viaAdministrativeActionFailureDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureDetails(AdministrativeActionFailureDetails)
.- Parameters:
failureDetails
- a consumer that will call methods onAdministrativeActionFailureDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetVolumeValues
Sets the value of the TargetVolumeValues property for this object.- Parameters:
targetVolumeValues
- The new value for the TargetVolumeValues property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetVolumeValues
default AdministrativeAction.Builder targetVolumeValues(Consumer<Volume.Builder> targetVolumeValues) Sets the value of the TargetVolumeValues property for this object. This is a convenience method that creates an instance of theVolume.Builder
avoiding the need to create one manually viaVolume.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetVolumeValues(Volume)
.- Parameters:
targetVolumeValues
- a consumer that will call methods onVolume.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetSnapshotValues
Sets the value of the TargetSnapshotValues property for this object.- Parameters:
targetSnapshotValues
- The new value for the TargetSnapshotValues property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetSnapshotValues
default AdministrativeAction.Builder targetSnapshotValues(Consumer<Snapshot.Builder> targetSnapshotValues) Sets the value of the TargetSnapshotValues property for this object. This is a convenience method that creates an instance of theSnapshot.Builder
avoiding the need to create one manually viaSnapshot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetSnapshotValues(Snapshot)
.- Parameters:
targetSnapshotValues
- a consumer that will call methods onSnapshot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalTransferBytes
The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.
- Parameters:
totalTransferBytes
- The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remainingTransferBytes
The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.
- Parameters:
remainingTransferBytes
- The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-