@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsBackupBackupPlanLifecycleDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides lifecycle details for the backup plan. A lifecycle defines when a backup is transitioned to cold storage and when it expires.
Constructor and Description |
---|
AwsBackupBackupPlanLifecycleDetails() |
Modifier and Type | Method and Description |
---|---|
AwsBackupBackupPlanLifecycleDetails |
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.
|
AwsBackupBackupPlanLifecycleDetails |
withDeleteAfterDays(Long deleteAfterDays)
Specifies the number of days after creation that a recovery point is deleted.
|
AwsBackupBackupPlanLifecycleDetails |
withMoveToColdStorageAfterDays(Long 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 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 AwsBackupBackupPlanLifecycleDetails 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 AwsBackupBackupPlanLifecycleDetails 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 AwsBackupBackupPlanLifecycleDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.