Interface BackupSelectionProps
- All Superinterfaces:
BackupSelectionOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BackupSelectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:45.928Z")
@Stability(Stable)
public interface BackupSelectionProps
extends software.amazon.jsii.JsiiSerializable, BackupSelectionOptions
Properties for a BackupSelection.
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.*;
import software.amazon.awscdk.services.iam.*;
BackupPlan backupPlan;
BackupResource backupResource;
Role role;
BackupSelectionProps backupSelectionProps = BackupSelectionProps.builder()
.backupPlan(backupPlan)
.resources(List.of(backupResource))
// the properties below are optional
.allowRestores(false)
.backupSelectionName("backupSelectionName")
.disableDefaultBackupPolicy(false)
.role(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBackupSelectionPropsstatic final classAn implementation forBackupSelectionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic BackupSelectionProps.Builderbuilder()The backup plan for this selection.Methods inherited from interface software.amazon.awscdk.services.backup.BackupSelectionOptions
getAllowRestores, getBackupSelectionName, getDisableDefaultBackupPolicy, getResources, getRoleMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBackupPlan
The backup plan for this selection. -
builder
- Returns:
- a
BackupSelectionProps.BuilderofBackupSelectionProps
-