Class CfnRestoreTestingPlanPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRestoreTestingPlanPropsMixin>
- Enclosing class:
CfnRestoreTestingPlanPropsMixin
CfnRestoreTestingPlanPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) recoveryPointSelection(CfnRestoreTestingPlanPropsMixin.RestoreTestingRecoveryPointSelectionProperty recoveryPointSelection) The specified criteria to assign a set of resources, such as recovery point types or backup vaults.recoveryPointSelection(IResolvable recoveryPointSelection) The specified criteria to assign a set of resources, such as recovery point types or backup vaults.restoreTestingPlanName(String restoreTestingPlanName) The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.scheduleExpression(String scheduleExpression) A CRON expression in specified timezone when a restore testing plan is executed.scheduleExpressionTimezone(String scheduleExpressionTimezone) Optional.startWindowHours(Number startWindowHours) Defaults to 24 hours.Optional tags to include.
-
Method Details
-
create
@Stability(Stable) public static CfnRestoreTestingPlanPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRestoreTestingPlanPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRestoreTestingPlanPropsMixin.Builder.
-
recoveryPointSelection
@Stability(Stable) public CfnRestoreTestingPlanPropsMixin.Builder recoveryPointSelection(IResolvable recoveryPointSelection) The specified criteria to assign a set of resources, such as recovery point types or backup vaults.- Parameters:
recoveryPointSelection- The specified criteria to assign a set of resources, such as recovery point types or backup vaults. This parameter is required.- Returns:
this- See Also:
-
recoveryPointSelection
@Stability(Stable) public CfnRestoreTestingPlanPropsMixin.Builder recoveryPointSelection(CfnRestoreTestingPlanPropsMixin.RestoreTestingRecoveryPointSelectionProperty recoveryPointSelection) The specified criteria to assign a set of resources, such as recovery point types or backup vaults.- Parameters:
recoveryPointSelection- The specified criteria to assign a set of resources, such as recovery point types or backup vaults. This parameter is required.- Returns:
this- See Also:
-
restoreTestingPlanName
@Stability(Stable) public CfnRestoreTestingPlanPropsMixin.Builder restoreTestingPlanName(String restoreTestingPlanName) The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
- Parameters:
restoreTestingPlanName- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This parameter is required.- Returns:
this- See Also:
-
scheduleExpression
@Stability(Stable) public CfnRestoreTestingPlanPropsMixin.Builder scheduleExpression(String scheduleExpression) A CRON expression in specified timezone when a restore testing plan is executed.When no CRON expression is provided, AWS Backup will use the default expression
cron(0 5 ? * * *).- Parameters:
scheduleExpression- A CRON expression in specified timezone when a restore testing plan is executed. This parameter is required.- Returns:
this- See Also:
-
scheduleExpressionTimezone
@Stability(Stable) public CfnRestoreTestingPlanPropsMixin.Builder scheduleExpressionTimezone(String scheduleExpressionTimezone) Optional.This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- Parameters:
scheduleExpressionTimezone- Optional. This parameter is required.- Returns:
this- See Also:
-
startWindowHours
@Stability(Stable) public CfnRestoreTestingPlanPropsMixin.Builder startWindowHours(Number startWindowHours) Defaults to 24 hours.A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
- Parameters:
startWindowHours- Defaults to 24 hours. This parameter is required.- Returns:
this- See Also:
-
tags
Optional tags to include.A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters:
+ - = . _ : /.- Parameters:
tags- Optional tags to include. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRestoreTestingPlanPropsMixin>- Returns:
- a newly built instance of
CfnRestoreTestingPlanPropsMixin.
-