Class AdministrativeAction
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.AdministrativeAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AdministrativeAction.Builder,AdministrativeAction>
@Generated("software.amazon.awssdk:codegen") public final class AdministrativeAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AdministrativeAction.Builder,AdministrativeAction>
Describes a specific Amazon FSx administrative action for the current Windows, Lustre, OpenZFS, or ONTAP file system or volume.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAdministrativeAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdministrativeActionTypeadministrativeActionType()Returns the value of the AdministrativeActionType property for this object.StringadministrativeActionTypeAsString()Returns the value of the AdministrativeActionType property for this object.static AdministrativeAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AdministrativeActionFailureDetailsfailureDetails()Returns the value of the FailureDetails property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerprogressPercent()The percentage-complete status of aSTORAGE_OPTIMIZATIONorDOWNLOAD_DATA_FROM_BACKUPadministrative action.LongremainingTransferBytes()The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.InstantrequestTime()The time that the administrative action request was received.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AdministrativeAction.Builder>serializableBuilderClass()Statusstatus()The status of the administrative action, as follows:StringstatusAsString()The status of the administrative action, as follows:FileSystemtargetFileSystemValues()The target value for the administration action, provided in theUpdateFileSystemoperation.SnapshottargetSnapshotValues()Returns the value of the TargetSnapshotValues property for this object.VolumetargetVolumeValues()Returns the value of the TargetVolumeValues property for this object.AdministrativeAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalTransferBytes()The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
administrativeActionType
public final AdministrativeActionType administrativeActionType()
Returns the value of the AdministrativeActionType property for this object.If the service returns an enum value that is not available in the current SDK version,
administrativeActionTypewill returnAdministrativeActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadministrativeActionTypeAsString().- Returns:
- The value of the AdministrativeActionType property for this object.
- See Also:
AdministrativeActionType
-
administrativeActionTypeAsString
public final String administrativeActionTypeAsString()
Returns the value of the AdministrativeActionType property for this object.If the service returns an enum value that is not available in the current SDK version,
administrativeActionTypewill returnAdministrativeActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadministrativeActionTypeAsString().- Returns:
- The value of the AdministrativeActionType property for this object.
- See Also:
AdministrativeActionType
-
progressPercent
public final Integer progressPercent()
The percentage-complete status of a
STORAGE_OPTIMIZATIONorDOWNLOAD_DATA_FROM_BACKUPadministrative action. Does not apply to any other administrative action type.- Returns:
- The percentage-complete status of a
STORAGE_OPTIMIZATIONorDOWNLOAD_DATA_FROM_BACKUPadministrative action. Does not apply to any other administrative action type.
-
requestTime
public final Instant requestTime()
The time that the administrative action request was received.
- Returns:
- The time that the administrative action request was received.
-
status
public final 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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
Status
-
-
statusAsString
public final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
Status
-
-
targetFileSystemValues
public final FileSystem targetFileSystemValues()
The target value for the administration action, provided in the
UpdateFileSystemoperation. Returned forFILE_SYSTEM_UPDATEadministrative actions.- Returns:
- The target value for the administration action, provided in the
UpdateFileSystemoperation. Returned forFILE_SYSTEM_UPDATEadministrative actions.
-
failureDetails
public final AdministrativeActionFailureDetails failureDetails()
Returns the value of the FailureDetails property for this object.- Returns:
- The value of the FailureDetails property for this object.
-
targetVolumeValues
public final Volume targetVolumeValues()
Returns the value of the TargetVolumeValues property for this object.- Returns:
- The value of the TargetVolumeValues property for this object.
-
targetSnapshotValues
public final Snapshot targetSnapshotValues()
Returns the value of the TargetSnapshotValues property for this object.- Returns:
- The value of the TargetSnapshotValues property for this object.
-
totalTransferBytes
public final Long totalTransferBytes()
The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.
- Returns:
- The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.
-
remainingTransferBytes
public final Long remainingTransferBytes()
The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.
- Returns:
- The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.
-
toBuilder
public AdministrativeAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AdministrativeAction.Builder,AdministrativeAction>
-
builder
public static AdministrativeAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends AdministrativeAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-