@Generated(value="software.amazon.awssdk:codegen") public final class CalculatedLifecycle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CalculatedLifecycle.Builder,CalculatedLifecycle>
Contains DeleteAt and MoveToColdStorageAt timestamps, which are used to specify a lifecycle
for a recovery point.
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” 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.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CalculatedLifecycle.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CalculatedLifecycle.Builder |
builder() |
Instant |
deleteAt()
A timestamp that specifies when to delete a recovery point.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
moveToColdStorageAt()
A timestamp that specifies when to transition a recovery point to cold storage.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CalculatedLifecycle.Builder> |
serializableBuilderClass() |
CalculatedLifecycle.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant moveToColdStorageAt()
A timestamp that specifies when to transition a recovery point to cold storage.
public final Instant deleteAt()
A timestamp that specifies when to delete a recovery point.
public CalculatedLifecycle.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CalculatedLifecycle.Builder,CalculatedLifecycle>public static CalculatedLifecycle.Builder builder()
public static Class<? extends CalculatedLifecycle.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.