Class CfnResiliencyPolicyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.resiliencehub.CfnResiliencyPolicyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResiliencyPolicyMixinProps>
- Enclosing interface:
CfnResiliencyPolicyMixinProps
@Stability(Stable)
public static final class CfnResiliencyPolicyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResiliencyPolicyMixinProps>
A builder for
CfnResiliencyPolicyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataLocationConstraint(String dataLocationConstraint) Sets the value ofCfnResiliencyPolicyMixinProps.getDataLocationConstraint()Sets the value ofCfnResiliencyPolicyMixinProps.getPolicy()policy(IResolvable policy) Sets the value ofCfnResiliencyPolicyMixinProps.getPolicy()policyDescription(String policyDescription) Sets the value ofCfnResiliencyPolicyMixinProps.getPolicyDescription()policyName(String policyName) Sets the value ofCfnResiliencyPolicyMixinProps.getPolicyName()Sets the value ofCfnResiliencyPolicyMixinProps.getTags()Sets the value ofCfnResiliencyPolicyMixinProps.getTier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataLocationConstraint
@Stability(Stable) public CfnResiliencyPolicyMixinProps.Builder dataLocationConstraint(String dataLocationConstraint) Sets the value ofCfnResiliencyPolicyMixinProps.getDataLocationConstraint()- Parameters:
dataLocationConstraint- Specifies a high-level geographical location constraint for where your resilience policy data can be stored.- Returns:
this
-
policy
Sets the value ofCfnResiliencyPolicyMixinProps.getPolicy()- Parameters:
policy- The resiliency policy.- Returns:
this
-
policy
@Stability(Stable) public CfnResiliencyPolicyMixinProps.Builder policy(Map<String, ? extends Object> policy) Sets the value ofCfnResiliencyPolicyMixinProps.getPolicy()- Parameters:
policy- The resiliency policy.- Returns:
this
-
policyDescription
@Stability(Stable) public CfnResiliencyPolicyMixinProps.Builder policyDescription(String policyDescription) Sets the value ofCfnResiliencyPolicyMixinProps.getPolicyDescription()- Parameters:
policyDescription- Description of the resiliency policy.- Returns:
this
-
policyName
Sets the value ofCfnResiliencyPolicyMixinProps.getPolicyName()- Parameters:
policyName- The name of the policy.- Returns:
this
-
tags
Sets the value ofCfnResiliencyPolicyMixinProps.getTags()- Parameters:
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.- Returns:
this
-
tier
Sets the value ofCfnResiliencyPolicyMixinProps.getTier()- Parameters:
tier- The tier for this resiliency policy, ranging from the highest severity (MissionCritical) to lowest (NonCritical).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResiliencyPolicyMixinProps>- Returns:
- a new instance of
CfnResiliencyPolicyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-