Class CfnPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.resiliencehubv2.CfnPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyPropsMixin>
- Enclosing class:
CfnPolicyPropsMixin
@Stability(Stable)
public static final class CfnPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyPropsMixin>
A fluent builder for
CfnPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionavailabilitySlo(CfnPolicyPropsMixin.AvailabilitySloProperty availabilitySlo) availabilitySlo(IResolvable availabilitySlo) build()static CfnPolicyPropsMixin.Buildercreate()static CfnPolicyPropsMixin.Buildercreate(CfnPropertyMixinOptions options) dataRecovery(CfnPolicyPropsMixin.DataRecoveryTargetsProperty dataRecovery) dataRecovery(IResolvable dataRecovery) description(String description) The description of the policy.The KMS key ID for encrypting policy data.multiAz(IResolvable multiAz) multiRegion(IResolvable multiRegion) The name of the policy.sharingEnabled(Boolean sharingEnabled) Whether the policy is enabled to be shared with other members of the Organization.sharingEnabled(IResolvable sharingEnabled) Whether the policy is enabled to be shared with other members of the Organization.Tags assigned to the policy.
-
Method Details
-
create
@Stability(Stable) public static CfnPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPolicyPropsMixin.Builder.
-
availabilitySlo
- Parameters:
availabilitySlo- This parameter is required.- Returns:
this- See Also:
-
availabilitySlo
@Stability(Stable) public CfnPolicyPropsMixin.Builder availabilitySlo(CfnPolicyPropsMixin.AvailabilitySloProperty availabilitySlo) - Parameters:
availabilitySlo- This parameter is required.- Returns:
this- See Also:
-
dataRecovery
- Parameters:
dataRecovery- This parameter is required.- Returns:
this- See Also:
-
dataRecovery
@Stability(Stable) public CfnPolicyPropsMixin.Builder dataRecovery(CfnPolicyPropsMixin.DataRecoveryTargetsProperty dataRecovery) - Parameters:
dataRecovery- This parameter is required.- Returns:
this- See Also:
-
description
The description of the policy.- Parameters:
description- The description of the policy. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The KMS key ID for encrypting policy data.- Parameters:
kmsKeyId- The KMS key ID for encrypting policy data. This parameter is required.- Returns:
this- See Also:
-
multiAz
- Parameters:
multiAz- This parameter is required.- Returns:
this- See Also:
-
multiAz
@Stability(Stable) public CfnPolicyPropsMixin.Builder multiAz(CfnPolicyPropsMixin.MultiAzTargetsProperty multiAz) - Parameters:
multiAz- This parameter is required.- Returns:
this- See Also:
-
multiRegion
- Parameters:
multiRegion- This parameter is required.- Returns:
this- See Also:
-
multiRegion
@Stability(Stable) public CfnPolicyPropsMixin.Builder multiRegion(CfnPolicyPropsMixin.MultiRegionTargetsProperty multiRegion) - Parameters:
multiRegion- This parameter is required.- Returns:
this- See Also:
-
name
The name of the policy.- Parameters:
name- The name of the policy. This parameter is required.- Returns:
this- See Also:
-
sharingEnabled
Whether the policy is enabled to be shared with other members of the Organization.Only applicable if the policy owner is a management account or delegated admin.
Default: - false
- Parameters:
sharingEnabled- Whether the policy is enabled to be shared with other members of the Organization. This parameter is required.- Returns:
this- See Also:
-
sharingEnabled
Whether the policy is enabled to be shared with other members of the Organization.Only applicable if the policy owner is a management account or delegated admin.
Default: - false
- Parameters:
sharingEnabled- Whether the policy is enabled to be shared with other members of the Organization. This parameter is required.- Returns:
this- See Also:
-
tags
Tags assigned to the policy.- Parameters:
tags- Tags assigned to the policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyPropsMixin>- Returns:
- a newly built instance of
CfnPolicyPropsMixin.
-