@Stability(value=Stable) public static final class CfnPolicyProps.Builder extends Object implements software.amazon.jsii.Builder<CfnPolicyProps>
CfnPolicyProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPolicyProps |
build()
Builds the configured instance.
|
CfnPolicyProps.Builder |
policyDocument(Object policyDocument)
Sets the value of
CfnPolicyProps.getPolicyDocument() |
CfnPolicyProps.Builder |
policyName(String policyName)
Sets the value of
CfnPolicyProps.getPolicyName() |
@Stability(value=Stable) public CfnPolicyProps.Builder policyDocument(Object policyDocument)
CfnPolicyProps.getPolicyDocument()
policyDocument
- The JSON document that describes the policy. This parameter is required.this
@Stability(value=Stable) public CfnPolicyProps.Builder policyName(String policyName)
CfnPolicyProps.getPolicyName()
policyName
- The policy name.this
@Stability(value=Stable) public CfnPolicyProps build()
build
in interface software.amazon.jsii.Builder<CfnPolicyProps>
CfnPolicyProps
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.