Interface CfnBackupPlan.LifecycleResourceTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBackupPlan.LifecycleResourceTypeProperty.Jsii$Proxy
- Enclosing class:
CfnBackupPlan
@Stability(Stable)
public static interface CfnBackupPlan.LifecycleResourceTypeProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an object containing an array of
Transition objects that determine how long in days before a recovery point transitions to cold storage or is deleted.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.backup.*;
LifecycleResourceTypeProperty lifecycleResourceTypeProperty = LifecycleResourceTypeProperty.builder()
.deleteAfterDays(123)
.moveToColdStorageAfterDays(123)
.optInToArchiveForSupportedResources(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBackupPlan.LifecycleResourceTypePropertystatic final classAn implementation forCfnBackupPlan.LifecycleResourceTypeProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeleteAfterDays
Specifies the number of days after creation that a recovery point is deleted.Must be greater than
MoveToColdStorageAfterDays.- See Also:
-
getMoveToColdStorageAfterDays
Specifies the number of days after creation that a recovery point is moved to cold storage.- See Also:
-
getOptInToArchiveForSupportedResources
- See Also:
-
builder
-