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.BuilderfailureDetails(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_OPTIMIZATIONadministrative action.requestTime(Instant requestTime) The time that the administrative action request was received.Describes the status of the administrative action, as follows:Describes the status of the administrative action, as follows:default AdministrativeAction.BuildertargetFileSystemValues(Consumer<FileSystem.Builder> targetFileSystemValues) Describes the target value for the administration action, provided in theUpdateFileSystemoperation.targetFileSystemValues(FileSystem targetFileSystemValues) Describes the target value for the administration action, provided in theUpdateFileSystemoperation.default AdministrativeAction.BuildertargetSnapshotValues(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.BuildertargetVolumeValues(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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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_OPTIMIZATIONadministrative action. Does not apply to any other administrative action type.- Parameters:
progressPercent- The percentage-complete status of aSTORAGE_OPTIMIZATIONadministrative 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
Describes 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- Describes 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
Describes 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- Describes 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
Describes the target value for the administration action, provided in the
UpdateFileSystemoperation. Returned forFILE_SYSTEM_UPDATEadministrative actions.- Parameters:
targetFileSystemValues- Describes the target value for the administration action, provided in theUpdateFileSystemoperation. Returned forFILE_SYSTEM_UPDATEadministrative 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) Describes the target value for the administration action, provided in the
This is a convenience method that creates an instance of theUpdateFileSystemoperation. Returned forFILE_SYSTEM_UPDATEadministrative actions.FileSystem.Builderavoiding the need to create one manually viaFileSystem.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAdministrativeActionFailureDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVolume.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSnapshot.builder().When the
Consumercompletes,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:
-