@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicy extends Object implements Serializable, Cloneable, StructuredPojo
Describes a policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class.
Constructor and Description |
---|
LifecyclePolicy() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicy |
clone() |
boolean |
equals(Object obj) |
String |
getTransitionToIA()
A value that indicates how long it takes to transition files to the IA storage class.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTransitionToIA(String transitionToIA)
A value that indicates how long it takes to transition files to the IA storage class.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicy |
withTransitionToIA(String transitionToIA)
A value that indicates how long it takes to transition files to the IA storage class.
|
LifecyclePolicy |
withTransitionToIA(TransitionToIARules transitionToIA)
A value that indicates how long it takes to transition files to the IA storage class.
|
public void setTransitionToIA(String transitionToIA)
A value that indicates how long it takes to transition files to the IA storage class. Currently, the only valid
value is AFTER_30_DAYS
.
AFTER_30_DAYS
indicates files that have not been read from or written to for 30 days are
transitioned from the Standard storage class to the IA storage class. Metadata operations such as listing the
contents of a directory don't count as a file access event.
transitionToIA
- A value that indicates how long it takes to transition files to the IA storage class. Currently, the only
valid value is AFTER_30_DAYS
.
AFTER_30_DAYS
indicates files that have not been read from or written to for 30 days are
transitioned from the Standard storage class to the IA storage class. Metadata operations such as listing
the contents of a directory don't count as a file access event.
TransitionToIARules
public String getTransitionToIA()
A value that indicates how long it takes to transition files to the IA storage class. Currently, the only valid
value is AFTER_30_DAYS
.
AFTER_30_DAYS
indicates files that have not been read from or written to for 30 days are
transitioned from the Standard storage class to the IA storage class. Metadata operations such as listing the
contents of a directory don't count as a file access event.
AFTER_30_DAYS
.
AFTER_30_DAYS
indicates files that have not been read from or written to for 30 days are
transitioned from the Standard storage class to the IA storage class. Metadata operations such as listing
the contents of a directory don't count as a file access event.
TransitionToIARules
public LifecyclePolicy withTransitionToIA(String transitionToIA)
A value that indicates how long it takes to transition files to the IA storage class. Currently, the only valid
value is AFTER_30_DAYS
.
AFTER_30_DAYS
indicates files that have not been read from or written to for 30 days are
transitioned from the Standard storage class to the IA storage class. Metadata operations such as listing the
contents of a directory don't count as a file access event.
transitionToIA
- A value that indicates how long it takes to transition files to the IA storage class. Currently, the only
valid value is AFTER_30_DAYS
.
AFTER_30_DAYS
indicates files that have not been read from or written to for 30 days are
transitioned from the Standard storage class to the IA storage class. Metadata operations such as listing
the contents of a directory don't count as a file access event.
TransitionToIARules
public LifecyclePolicy withTransitionToIA(TransitionToIARules transitionToIA)
A value that indicates how long it takes to transition files to the IA storage class. Currently, the only valid
value is AFTER_30_DAYS
.
AFTER_30_DAYS
indicates files that have not been read from or written to for 30 days are
transitioned from the Standard storage class to the IA storage class. Metadata operations such as listing the
contents of a directory don't count as a file access event.
transitionToIA
- A value that indicates how long it takes to transition files to the IA storage class. Currently, the only
valid value is AFTER_30_DAYS
.
AFTER_30_DAYS
indicates files that have not been read from or written to for 30 days are
transitioned from the Standard storage class to the IA storage class. Metadata operations such as listing
the contents of a directory don't count as a file access event.
TransitionToIARules
public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.