Class CfnResiliencyPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.resiliencehub.CfnResiliencyPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResiliencyPolicyPropsMixin>
- Enclosing class:
CfnResiliencyPolicyPropsMixin
@Stability(Stable)
public static final class CfnResiliencyPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResiliencyPolicyPropsMixin>
A fluent builder for
CfnResiliencyPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) dataLocationConstraint(String dataLocationConstraint) Specifies a high-level geographical location constraint for where your resilience policy data can be stored.The resiliency policy.policy(IResolvable policy) The resiliency policy.policyDescription(String policyDescription) Description of the resiliency policy.policyName(String policyName) The name of the policy.Tags assigned to the resource.The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).
-
Method Details
-
create
@Stability(Stable) public static CfnResiliencyPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnResiliencyPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnResiliencyPolicyPropsMixin.Builder.
-
dataLocationConstraint
@Stability(Stable) public CfnResiliencyPolicyPropsMixin.Builder dataLocationConstraint(String dataLocationConstraint) Specifies a high-level geographical location constraint for where your resilience policy data can be stored.- Parameters:
dataLocationConstraint- Specifies a high-level geographical location constraint for where your resilience policy data can be stored. This parameter is required.- Returns:
this- See Also:
-
policy
The resiliency policy.- Parameters:
policy- The resiliency policy. This parameter is required.- Returns:
this- See Also:
-
policy
@Stability(Stable) public CfnResiliencyPolicyPropsMixin.Builder policy(Map<String, ? extends Object> policy) The resiliency policy.- Parameters:
policy- The resiliency policy. This parameter is required.- Returns:
this- See Also:
-
policyDescription
@Stability(Stable) public CfnResiliencyPolicyPropsMixin.Builder policyDescription(String policyDescription) Description of the resiliency policy.- Parameters:
policyDescription- Description of the resiliency policy. This parameter is required.- Returns:
this- See Also:
-
policyName
The name of the policy.- Parameters:
policyName- The name of the policy. This parameter is required.- Returns:
this- See Also:
-
tags
Tags assigned to the resource.A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
- Parameters:
tags- Tags assigned to the resource. This parameter is required.- Returns:
this- See Also:
-
tier
The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).- Parameters:
tier- The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical). This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResiliencyPolicyPropsMixin>- Returns:
- a newly built instance of
CfnResiliencyPolicyPropsMixin.
-