@Generated(value="software.amazon.awssdk:codegen") public final class LifecyclePolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifecyclePolicy.Builder,LifecyclePolicy>
Describes a policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LifecyclePolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LifecyclePolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LifecyclePolicy.Builder> |
serializableBuilderClass() |
LifecyclePolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TransitionToIARules |
transitionToIA()
A value that describes the period of time that a file is not accessed, after which it transitions to the IA
storage class.
|
String |
transitionToIAAsString()
A value that describes the period of time that a file is not accessed, after which it transitions to the IA
storage class.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TransitionToIARules transitionToIA()
A value that 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.
If the service returns an enum value that is not available in the current SDK version, transitionToIA
will return TransitionToIARules.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from transitionToIAAsString().
TransitionToIARulespublic final String transitionToIAAsString()
A value that 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.
If the service returns an enum value that is not available in the current SDK version, transitionToIA
will return TransitionToIARules.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from transitionToIAAsString().
TransitionToIARulespublic LifecyclePolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LifecyclePolicy.Builder,LifecyclePolicy>public static LifecyclePolicy.Builder builder()
public static Class<? extends LifecyclePolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.