@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReleaseConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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
Paths
parameter of the operation in order for the file to be released.
Constructor and Description |
---|
ReleaseConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReleaseConfiguration |
clone() |
boolean |
equals(Object obj) |
DurationSinceLastAccess |
getDurationSinceLastAccess()
Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for
release.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationSinceLastAccess(DurationSinceLastAccess durationSinceLastAccess)
Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for
release.
|
String |
toString()
Returns a string representation of this object.
|
ReleaseConfiguration |
withDurationSinceLastAccess(DurationSinceLastAccess durationSinceLastAccess)
Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for
release.
|
public void setDurationSinceLastAccess(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.
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.public DurationSinceLastAccess getDurationSinceLastAccess()
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.
public ReleaseConfiguration withDurationSinceLastAccess(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.
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.public String toString()
toString
in class Object
Object.toString()
public ReleaseConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.