@Generated(value="software.amazon.awssdk:codegen") public final class Lifecycle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Lifecycle.Builder,Lifecycle>
Contains an array of Transition objects specifying how long in days before a recovery point transitions
to cold storage or is deleted.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only Amazon EFS file system backups can be transitioned to cold storage.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Lifecycle.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Lifecycle.Builder |
builder() |
Long |
deleteAfterDays()
Specifies the number of days after creation that a recovery point is deleted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
moveToColdStorageAfterDays()
Specifies the number of days after creation that a recovery point is moved to cold storage.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Lifecycle.Builder> |
serializableBuilderClass() |
Lifecycle.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long moveToColdStorageAfterDays()
Specifies the number of days after creation that a recovery point is moved to cold storage.
public final Long deleteAfterDays()
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus
MoveToColdStorageAfterDays.
MoveToColdStorageAfterDays.public Lifecycle.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Lifecycle.Builder,Lifecycle>public static Lifecycle.Builder builder()
public static Class<? extends Lifecycle.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.