@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()
Describes the period of time that a file is not accessed, after which it transitions to the IA storage class.
|
String |
getTransitionToPrimaryStorageClass()
Describes the policy used to transition a file from infequent access storage to primary storage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setTransitionToIA(String transitionToIA)
Describes the period of time that a file is not accessed, after which it transitions to the IA storage class.
|
void |
setTransitionToPrimaryStorageClass(String transitionToPrimaryStorageClass)
Describes the policy used to transition a file from infequent access storage to primary storage.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicy |
withTransitionToIA(String transitionToIA)
Describes the period of time that a file is not accessed, after which it transitions to the IA storage class.
|
LifecyclePolicy |
withTransitionToIA(TransitionToIARules transitionToIA)
Describes the period of time that a file is not accessed, after which it transitions to the IA storage class.
|
LifecyclePolicy |
withTransitionToPrimaryStorageClass(String transitionToPrimaryStorageClass)
Describes the policy used to transition a file from infequent access storage to primary storage.
|
LifecyclePolicy |
withTransitionToPrimaryStorageClass(TransitionToPrimaryStorageClassRules transitionToPrimaryStorageClass)
Describes the policy used to transition a file from infequent access storage to primary storage.
|
public void setTransitionToIA(String transitionToIA)
Describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata operations such as listing the contents of a directory don't count as file access events.
transitionToIA - Describes the period of time that a file is not accessed, after which it transitions to the IA storage
class. Metadata operations such as listing the contents of a directory don't count as file access events.TransitionToIARulespublic String getTransitionToIA()
Describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata operations such as listing the contents of a directory don't count as file access events.
TransitionToIARulespublic LifecyclePolicy withTransitionToIA(String transitionToIA)
Describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata operations such as listing the contents of a directory don't count as file access events.
transitionToIA - Describes the period of time that a file is not accessed, after which it transitions to the IA storage
class. Metadata operations such as listing the contents of a directory don't count as file access events.TransitionToIARulespublic LifecyclePolicy withTransitionToIA(TransitionToIARules transitionToIA)
Describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata operations such as listing the contents of a directory don't count as file access events.
transitionToIA - Describes the period of time that a file is not accessed, after which it transitions to the IA storage
class. Metadata operations such as listing the contents of a directory don't count as file access events.TransitionToIARulespublic void setTransitionToPrimaryStorageClass(String transitionToPrimaryStorageClass)
Describes the policy used to transition a file from infequent access storage to primary storage.
transitionToPrimaryStorageClass - Describes the policy used to transition a file from infequent access storage to primary storage.TransitionToPrimaryStorageClassRulespublic String getTransitionToPrimaryStorageClass()
Describes the policy used to transition a file from infequent access storage to primary storage.
TransitionToPrimaryStorageClassRulespublic LifecyclePolicy withTransitionToPrimaryStorageClass(String transitionToPrimaryStorageClass)
Describes the policy used to transition a file from infequent access storage to primary storage.
transitionToPrimaryStorageClass - Describes the policy used to transition a file from infequent access storage to primary storage.TransitionToPrimaryStorageClassRulespublic LifecyclePolicy withTransitionToPrimaryStorageClass(TransitionToPrimaryStorageClassRules transitionToPrimaryStorageClass)
Describes the policy used to transition a file from infequent access storage to primary storage.
transitionToPrimaryStorageClass - Describes the policy used to transition a file from infequent access storage to primary storage.TransitionToPrimaryStorageClassRulespublic String toString()
toString in class ObjectObject.toString()public LifecyclePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.