Class CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty>
- Enclosing interface:
CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty
@Stability(Stable)
public static final class CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.excludeVaults(List<String> excludeVaults) includeVaults(List<String> includeVaults) recoveryPointTypes(List<String> recoveryPointTypes) selectionWindowDays(Number selectionWindowDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithm
@Stability(Stable) public CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Builder algorithm(String algorithm) - Parameters:
algorithm- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW". This parameter is required.- Returns:
this
-
includeVaults
@Stability(Stable) public CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Builder includeVaults(List<String> includeVaults) Sets the value ofCfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.getIncludeVaults()- Parameters:
includeVaults- Accepted values include wildcard [""] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:::backup-vault:asdf-", ...]. This parameter is required.- Returns:
this
-
recoveryPointTypes
@Stability(Stable) public CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Builder recoveryPointTypes(List<String> recoveryPointTypes) Sets the value ofCfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.getRecoveryPointTypes()- Parameters:
recoveryPointTypes- These are the types of recovery points. This parameter is required. IncludeSNAPSHOTto restore only snapshot recovery points; includeCONTINUOUSto restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value forAlgorithm.- Returns:
this
-
excludeVaults
@Stability(Stable) public CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Builder excludeVaults(List<String> excludeVaults) Sets the value ofCfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.getExcludeVaults()- Parameters:
excludeVaults- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.- Returns:
this
-
selectionWindowDays
@Stability(Stable) public CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Builder selectionWindowDays(Number selectionWindowDays) Sets the value ofCfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.getSelectionWindowDays()- Parameters:
selectionWindowDays- Accepted values are integers from 1 to 365.- Returns:
this
-
build
@Stability(Stable) public CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty>- Returns:
- a new instance of
CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-