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 Details

    • 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

      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

      AdministrativeAction.Builder progressPercent(Integer 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 a STORAGE_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

      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

      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

      AdministrativeAction.Builder targetFileSystemValues(FileSystem targetFileSystemValues)

      The target value for the administration action, provided in the UpdateFileSystem operation. Returned for FILE_SYSTEM_UPDATE administrative actions.

      Parameters:
      targetFileSystemValues - The target value for the administration action, provided in the UpdateFileSystem operation. Returned for FILE_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 UpdateFileSystem operation. Returned for FILE_SYSTEM_UPDATE administrative actions.

      This is a convenience method that creates an instance of the FileSystem.Builder avoiding the need to create one manually via FileSystem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetFileSystemValues(FileSystem).

      Parameters:
      targetFileSystemValues - a consumer that will call methods on FileSystem.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

      Sets the value of the FailureDetails property for this object. This is a convenience method that creates an instance of the AdministrativeActionFailureDetails.Builder avoiding the need to create one manually via AdministrativeActionFailureDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failureDetails(AdministrativeActionFailureDetails).

      Parameters:
      failureDetails - a consumer that will call methods on AdministrativeActionFailureDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the Volume.Builder avoiding the need to create one manually via Volume.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetVolumeValues(Volume).

      Parameters:
      targetVolumeValues - a consumer that will call methods on Volume.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the Snapshot.Builder avoiding the need to create one manually via Snapshot.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetSnapshotValues(Snapshot).

      Parameters:
      targetSnapshotValues - a consumer that will call methods on Snapshot.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.