Class CfnSecurityPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnSecurityPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityPolicyPropsMixin>
- Enclosing class:
CfnSecurityPolicyPropsMixin
@Stability(Stable)
public static final class CfnSecurityPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityPolicyPropsMixin>
A fluent builder for
CfnSecurityPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description of the security policy.The name of the policy.The JSON policy document without any whitespaces.The type of security policy.
-
Method Details
-
create
@Stability(Stable) public static CfnSecurityPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSecurityPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSecurityPolicyPropsMixin.Builder.
-
description
The description of the security policy.- Parameters:
description- The description of the security policy. 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:
-
policy
The JSON policy document without any whitespaces.- Parameters:
policy- The JSON policy document without any whitespaces. This parameter is required.- Returns:
this- See Also:
-
type
The type of security policy.Can be either
encryptionornetwork.- Parameters:
type- The type of security policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityPolicyPropsMixin>- Returns:
- a newly built instance of
CfnSecurityPolicyPropsMixin.
-