Interface AdministrativeAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AdministrativeAction.Builder,AdministrativeAction>,SdkBuilder<AdministrativeAction.Builder,AdministrativeAction>,SdkPojo
- Enclosing class:
- AdministrativeAction
public static interface AdministrativeAction.Builder extends SdkPojo, CopyableBuilder<AdministrativeAction.Builder,AdministrativeAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AdministrativeAction.BuilderadministrativeActionType(String administrativeActionType)Sets the value of the AdministrativeActionType property for this object.AdministrativeAction.BuilderadministrativeActionType(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.AdministrativeAction.BuilderfailureDetails(AdministrativeActionFailureDetails failureDetails)Sets the value of the FailureDetails property for this object.AdministrativeAction.BuilderprogressPercent(Integer progressPercent)The percentage-complete status of aSTORAGE_OPTIMIZATIONorDOWNLOAD_DATA_FROM_BACKUPadministrative action.AdministrativeAction.BuilderremainingTransferBytes(Long remainingTransferBytes)The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.AdministrativeAction.BuilderrequestTime(Instant requestTime)The time that the administrative action request was received.AdministrativeAction.Builderstatus(String status)The status of the administrative action, as follows:AdministrativeAction.Builderstatus(Status status)The status of the administrative action, as follows:default AdministrativeAction.BuildertargetFileSystemValues(Consumer<FileSystem.Builder> targetFileSystemValues)The target value for the administration action, provided in theUpdateFileSystemoperation.AdministrativeAction.BuildertargetFileSystemValues(FileSystem targetFileSystemValues)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.AdministrativeAction.BuildertargetSnapshotValues(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.AdministrativeAction.BuildertargetVolumeValues(Volume targetVolumeValues)Sets the value of the TargetVolumeValues property for this object.AdministrativeAction.BuildertotalTransferBytes(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
administrativeActionType
AdministrativeAction.Builder administrativeActionType(String 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,AdministrativeActionType
-
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:
AdministrativeActionType,AdministrativeActionType
-
progressPercent
AdministrativeAction.Builder progressPercent(Integer progressPercent)
The percentage-complete status of a
STORAGE_OPTIMIZATIONorDOWNLOAD_DATA_FROM_BACKUPadministrative action. Does not apply to any other administrative action type.- Parameters:
progressPercent- The percentage-complete status of aSTORAGE_OPTIMIZATIONorDOWNLOAD_DATA_FROM_BACKUPadministrative 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
AdministrativeAction.Builder requestTime(Instant 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
AdministrativeAction.Builder status(String 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.For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume.
-
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. -
PENDING- For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING. -
IN_PROGRESS- For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with theProgressPercentelement.
- 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.For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume.
-
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. -
PENDING- For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING. -
IN_PROGRESS- For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with theProgressPercentelement.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Status,Status
-
-
status
AdministrativeAction.Builder status(Status 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.For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume.
-
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. -
PENDING- For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING. -
IN_PROGRESS- For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with theProgressPercentelement.
- 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.For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume.
-
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. -
PENDING- For a backup restore to a second-generation FSx for ONTAP file system, indicates that the file metadata is being downloaded onto the volume. The volume's Lifecycle state is CREATING. -
IN_PROGRESS- For a backup restore to a second-generation FSx for ONTAP file system, indicates that all metadata has been downloaded to the new volume and client can access data with read-only access while Amazon FSx downloads the file data to the volume. Track the progress of this process with theProgressPercentelement.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Status,Status
-
-
targetFileSystemValues
AdministrativeAction.Builder targetFileSystemValues(FileSystem targetFileSystemValues)
The target value for the administration action, provided in the
UpdateFileSystemoperation. Returned forFILE_SYSTEM_UPDATEadministrative actions.- Parameters:
targetFileSystemValues- 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)
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:
targetFileSystemValues(FileSystem)
-
failureDetails
AdministrativeAction.Builder failureDetails(AdministrativeActionFailureDetails 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:
failureDetails(AdministrativeActionFailureDetails)
-
targetVolumeValues
AdministrativeAction.Builder targetVolumeValues(Volume 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:
targetVolumeValues(Volume)
-
targetSnapshotValues
AdministrativeAction.Builder targetSnapshotValues(Snapshot 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:
targetSnapshotValues(Snapshot)
-
totalTransferBytes
AdministrativeAction.Builder totalTransferBytes(Long 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
AdministrativeAction.Builder remainingTransferBytes(Long 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.
-
-