Class ReleaseConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.ReleaseConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReleaseConfiguration.Builder,ReleaseConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ReleaseConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReleaseConfiguration.Builder,ReleaseConfiguration>
The configuration that specifies a minimum amount of time since last access for an exported file to be eligible for release from an Amazon FSx for Lustre file system. Only files that were last accessed before this point-in-time can be released. For example, if you specify a last accessed time criteria of 9 days, only files that were last accessed 9.00001 or more days ago can be released.
Only file data that has been exported to S3 can be released. Files that have not yet been exported to S3, such as new or changed files that have not been exported, are not eligible for release. When files are released, their metadata stays on the file system, so they can still be accessed later. Users and applications can access a released file by reading the file again, which restores data from Amazon S3 to the FSx for Lustre file system.
If a file meets the last accessed time criteria, its file or directory path must also be specified with the
Pathsparameter of the operation in order for the file to be released.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReleaseConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReleaseConfiguration.Builderbuilder()DurationSinceLastAccessdurationSinceLastAccess()Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ReleaseConfiguration.Builder>serializableBuilderClass()ReleaseConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
durationSinceLastAccess
public final DurationSinceLastAccess durationSinceLastAccess()
Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release. Only files that were last accessed before this point-in-time are eligible to be released from the file system.
- Returns:
- Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release. Only files that were last accessed before this point-in-time are eligible to be released from the file system.
-
toBuilder
public ReleaseConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReleaseConfiguration.Builder,ReleaseConfiguration>
-
builder
public static ReleaseConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReleaseConfiguration.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.
-
-