@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsBackupRecoveryPointLifecycleDetails 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 |
---|
AwsBackupRecoveryPointLifecycleDetails() |
Modifier and Type | Method and Description |
---|---|
AwsBackupRecoveryPointLifecycleDetails |
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.
|
AwsBackupRecoveryPointLifecycleDetails |
withDeleteAfterDays(Long deleteAfterDays)
Specifies the number of days after creation that a recovery point is deleted.
|
AwsBackupRecoveryPointLifecycleDetails |
withMoveToColdStorageAfterDays(Long moveToColdStorageAfterDays)
Specifies the number of days after creation that a recovery point is moved to cold storage.
|
public AwsBackupRecoveryPointLifecycleDetails()
public void setDeleteAfterDays(Long deleteAfterDays)
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus
MoveToColdStorageAfterDays
.
deleteAfterDays
- Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days
plus MoveToColdStorageAfterDays
.public Long getDeleteAfterDays()
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus
MoveToColdStorageAfterDays
.
MoveToColdStorageAfterDays
.public AwsBackupRecoveryPointLifecycleDetails withDeleteAfterDays(Long deleteAfterDays)
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus
MoveToColdStorageAfterDays
.
deleteAfterDays
- Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days
plus MoveToColdStorageAfterDays
.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 AwsBackupRecoveryPointLifecycleDetails 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 String toString()
toString
in class Object
Object.toString()
public AwsBackupRecoveryPointLifecycleDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.