Class CfnRestoreTestingSelectionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnRestoreTestingSelectionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRestoreTestingSelectionPropsMixin>
- Enclosing class:
CfnRestoreTestingSelectionPropsMixin
@Stability(Stable)
public static final class CfnRestoreTestingSelectionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRestoreTestingSelectionPropsMixin>
A fluent builder for
CfnRestoreTestingSelectionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) iamRoleArn(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource;protectedResourceArns(List<String> protectedResourceArns) You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.protectedResourceConditions(CfnRestoreTestingSelectionPropsMixin.ProtectedResourceConditionsProperty protectedResourceConditions) In a resource testing selection, this parameter filters by specific conditions such asStringEqualsorStringNotEquals.protectedResourceConditions(IResolvable protectedResourceConditions) In a resource testing selection, this parameter filters by specific conditions such asStringEqualsorStringNotEquals.protectedResourceType(String protectedResourceType) The type of AWS resource included in a resource testing selection;restoreMetadataOverrides(Map<String, String> restoreMetadataOverrides) You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection.restoreMetadataOverrides(IResolvable restoreMetadataOverrides) You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection.restoreTestingPlanName(String restoreTestingPlanName) Unique string that is the name of the restore testing plan.restoreTestingSelectionName(String restoreTestingSelectionName) The unique name of the restore testing selection that belongs to the related restore testing plan.validationWindowHours(Number validationWindowHours) This is amount of hours (1 to 168) available to run a validation script on the data.
-
Method Details
-
create
@Stability(Stable) public static CfnRestoreTestingSelectionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRestoreTestingSelectionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRestoreTestingSelectionPropsMixin.Builder.
-
iamRoleArn
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder iamRoleArn(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource;for example:
arn:aws:iam::123456789012:role/S3Access.- Parameters:
iamRoleArn- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource;. This parameter is required.- Returns:
this- See Also:
-
protectedResourceArns
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder protectedResourceArns(List<String> protectedResourceArns) You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.- Parameters:
protectedResourceArns- You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both. This parameter is required.- Returns:
this- See Also:
-
protectedResourceConditions
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder protectedResourceConditions(IResolvable protectedResourceConditions) In a resource testing selection, this parameter filters by specific conditions such asStringEqualsorStringNotEquals.- Parameters:
protectedResourceConditions- In a resource testing selection, this parameter filters by specific conditions such asStringEqualsorStringNotEquals. This parameter is required.- Returns:
this- See Also:
-
protectedResourceConditions
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder protectedResourceConditions(CfnRestoreTestingSelectionPropsMixin.ProtectedResourceConditionsProperty protectedResourceConditions) In a resource testing selection, this parameter filters by specific conditions such asStringEqualsorStringNotEquals.- Parameters:
protectedResourceConditions- In a resource testing selection, this parameter filters by specific conditions such asStringEqualsorStringNotEquals. This parameter is required.- Returns:
this- See Also:
-
protectedResourceType
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder protectedResourceType(String protectedResourceType) The type of AWS resource included in a resource testing selection;for example, an Amazon EBS volume or an Amazon RDS database.
- Parameters:
protectedResourceType- The type of AWS resource included in a resource testing selection;. This parameter is required.- Returns:
this- See Also:
-
restoreMetadataOverrides
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder restoreMetadataOverrides(Map<String, String> restoreMetadataOverrides) You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection.Key values are not case sensitive.
See the complete list of restore testing inferred metadata .
- Parameters:
restoreMetadataOverrides- You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection. This parameter is required.- Returns:
this- See Also:
-
restoreMetadataOverrides
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder restoreMetadataOverrides(IResolvable restoreMetadataOverrides) You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection.Key values are not case sensitive.
See the complete list of restore testing inferred metadata .
- Parameters:
restoreMetadataOverrides- You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection. This parameter is required.- Returns:
this- See Also:
-
restoreTestingPlanName
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder restoreTestingPlanName(String restoreTestingPlanName) Unique string that is the name of the restore testing plan.The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50.
- Parameters:
restoreTestingPlanName- Unique string that is the name of the restore testing plan. This parameter is required.- Returns:
this- See Also:
-
restoreTestingSelectionName
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder restoreTestingSelectionName(String restoreTestingSelectionName) The unique name of the restore testing selection that belongs to the related restore testing plan.The name consists of only alphanumeric characters and underscores. Maximum length is 50.
- Parameters:
restoreTestingSelectionName- The unique name of the restore testing selection that belongs to the related restore testing plan. This parameter is required.- Returns:
this- See Also:
-
validationWindowHours
@Stability(Stable) public CfnRestoreTestingSelectionPropsMixin.Builder validationWindowHours(Number validationWindowHours) This is amount of hours (1 to 168) available to run a validation script on the data.The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
- Parameters:
validationWindowHours- This is amount of hours (1 to 168) available to run a validation script on the data. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRestoreTestingSelectionPropsMixin>- Returns:
- a newly built instance of
CfnRestoreTestingSelectionPropsMixin.
-