@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DurationSinceLastAccess extends Object implements Serializable, Cloneable, StructuredPojo
Defines the minimum amount of time since last access for a file to be eligible for release. Only files that have been exported to S3 and that were last accessed or modified before this point-in-time are eligible to be released from the Amazon FSx for Lustre file system.
Constructor and Description |
---|
DurationSinceLastAccess() |
Modifier and Type | Method and Description |
---|---|
DurationSinceLastAccess |
clone() |
boolean |
equals(Object obj) |
String |
getUnit()
The unit of time used by the
Value parameter to determine if a file can be released, based on when
it was last accessed. |
Long |
getValue()
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file
system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUnit(String unit)
The unit of time used by the
Value parameter to determine if a file can be released, based on when
it was last accessed. |
void |
setValue(Long value)
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file
system.
|
String |
toString()
Returns a string representation of this object.
|
DurationSinceLastAccess |
withUnit(String unit)
The unit of time used by the
Value parameter to determine if a file can be released, based on when
it was last accessed. |
DurationSinceLastAccess |
withUnit(Unit unit)
The unit of time used by the
Value parameter to determine if a file can be released, based on when
it was last accessed. |
DurationSinceLastAccess |
withValue(Long value)
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file
system.
|
public void setUnit(String unit)
The unit of time used by the Value
parameter to determine if a file can be released, based on when
it was last accessed. DAYS
is the only supported value. This is a required parameter.
unit
- The unit of time used by the Value
parameter to determine if a file can be released, based on
when it was last accessed. DAYS
is the only supported value. This is a required parameter.Unit
public String getUnit()
The unit of time used by the Value
parameter to determine if a file can be released, based on when
it was last accessed. DAYS
is the only supported value. This is a required parameter.
Value
parameter to determine if a file can be released, based
on when it was last accessed. DAYS
is the only supported value. This is a required
parameter.Unit
public DurationSinceLastAccess withUnit(String unit)
The unit of time used by the Value
parameter to determine if a file can be released, based on when
it was last accessed. DAYS
is the only supported value. This is a required parameter.
unit
- The unit of time used by the Value
parameter to determine if a file can be released, based on
when it was last accessed. DAYS
is the only supported value. This is a required parameter.Unit
public DurationSinceLastAccess withUnit(Unit unit)
The unit of time used by the Value
parameter to determine if a file can be released, based on when
it was last accessed. DAYS
is the only supported value. This is a required parameter.
unit
- The unit of time used by the Value
parameter to determine if a file can be released, based on
when it was last accessed. DAYS
is the only supported value. This is a required parameter.Unit
public void setValue(Long value)
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file
system. Only exported files with a MAX(atime, ctime, mtime)
timestamp that is more than this amount
of time in the past (relative to the task create time) will be released. The default of Value
is
0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be specified in
the Paths
parameter of the operation in order for the file to be released.
value
- An integer that represents the minimum amount of time (in days) since a file was last accessed in the file
system. Only exported files with a MAX(atime, ctime, mtime)
timestamp that is more than this
amount of time in the past (relative to the task create time) will be released. The default of
Value
is 0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be
specified in the Paths
parameter of the operation in order for the file to be released.
public Long getValue()
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file
system. Only exported files with a MAX(atime, ctime, mtime)
timestamp that is more than this amount
of time in the past (relative to the task create time) will be released. The default of Value
is
0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be specified in
the Paths
parameter of the operation in order for the file to be released.
MAX(atime, ctime, mtime)
timestamp that is more than
this amount of time in the past (relative to the task create time) will be released. The default of
Value
is 0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be
specified in the Paths
parameter of the operation in order for the file to be released.
public DurationSinceLastAccess withValue(Long value)
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file
system. Only exported files with a MAX(atime, ctime, mtime)
timestamp that is more than this amount
of time in the past (relative to the task create time) will be released. The default of Value
is
0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be specified in
the Paths
parameter of the operation in order for the file to be released.
value
- An integer that represents the minimum amount of time (in days) since a file was last accessed in the file
system. Only exported files with a MAX(atime, ctime, mtime)
timestamp that is more than this
amount of time in the past (relative to the task create time) will be released. The default of
Value
is 0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be
specified in the Paths
parameter of the operation in order for the file to be released.
public String toString()
toString
in class Object
Object.toString()
public DurationSinceLastAccess clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.