@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Lifecycle extends Object implements Serializable, Cloneable, StructuredPojo
Contains an array of Transition objects specifying how long in days before a recovery point transitions
to cold storage or is deleted.
| Constructor and Description |
|---|
Lifecycle() |
| Modifier and Type | Method and Description |
|---|---|
Lifecycle |
clone() |
boolean |
equals(Object obj) |
Long |
getDeleteAfterDays()
Specifies the number of days after creation that a recovery point is deleted.
|
Long |
getMoveToColdStorageAfterDays()
Specifies the number of days after creation that a recovery point is moved to cold storage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDeleteAfterDays(Long deleteAfterDays)
Specifies the number of days after creation that a recovery point is deleted.
|
void |
setMoveToColdStorageAfterDays(Long moveToColdStorageAfterDays)
Specifies the number of days after creation that a recovery point is moved to cold storage.
|
String |
toString()
Returns a string representation of this object.
|
Lifecycle |
withDeleteAfterDays(Long deleteAfterDays)
Specifies the number of days after creation that a recovery point is deleted.
|
Lifecycle |
withMoveToColdStorageAfterDays(Long moveToColdStorageAfterDays)
Specifies the number of days after creation that a recovery point is moved to cold storage.
|
public void setMoveToColdStorageAfterDays(Long moveToColdStorageAfterDays)
Specifies the number of days after creation that a recovery point is moved to cold storage.
moveToColdStorageAfterDays - Specifies the number of days after creation that a recovery point is moved to cold storage.public Long getMoveToColdStorageAfterDays()
Specifies the number of days after creation that a recovery point is moved to cold storage.
public Lifecycle withMoveToColdStorageAfterDays(Long moveToColdStorageAfterDays)
Specifies the number of days after creation that a recovery point is moved to cold storage.
moveToColdStorageAfterDays - Specifies the number of days after creation that a recovery point is moved to cold storage.public void setDeleteAfterDays(Long deleteAfterDays)
Specifies the number of days after creation that a recovery point is deleted. Must be greater than
MoveToColdStorageAfterDays.
deleteAfterDays - Specifies the number of days after creation that a recovery point is deleted. Must be greater than
MoveToColdStorageAfterDays.public Long getDeleteAfterDays()
Specifies the number of days after creation that a recovery point is deleted. Must be greater than
MoveToColdStorageAfterDays.
MoveToColdStorageAfterDays.public Lifecycle withDeleteAfterDays(Long deleteAfterDays)
Specifies the number of days after creation that a recovery point is deleted. Must be greater than
MoveToColdStorageAfterDays.
deleteAfterDays - Specifies the number of days after creation that a recovery point is deleted. Must be greater than
MoveToColdStorageAfterDays.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.