Class CfnPolicyStore.SchemaDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.verifiedpermissions.CfnPolicyStore.SchemaDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyStore.SchemaDefinitionProperty>
- Enclosing interface:
CfnPolicyStore.SchemaDefinitionProperty
@Stability(Stable)
public static final class CfnPolicyStore.SchemaDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyStore.SchemaDefinitionProperty>
A builder for
CfnPolicyStore.SchemaDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cedarFormat(String cedarFormat) Sets the value ofCfnPolicyStore.SchemaDefinitionProperty.getCedarFormat()Sets the value ofCfnPolicyStore.SchemaDefinitionProperty.getCedarJson()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cedarFormat
@Stability(Stable) public CfnPolicyStore.SchemaDefinitionProperty.Builder cedarFormat(String cedarFormat) Sets the value ofCfnPolicyStore.SchemaDefinitionProperty.getCedarFormat()- Parameters:
cedarFormat- the value to be set.- Returns:
this
-
cedarJson
@Stability(Stable) public CfnPolicyStore.SchemaDefinitionProperty.Builder cedarJson(String cedarJson) Sets the value ofCfnPolicyStore.SchemaDefinitionProperty.getCedarJson()- Parameters:
cedarJson- A JSON string representation of the schema supported by applications that use this policy store. For more information, see Policy store schema in the AVP User Guide.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyStore.SchemaDefinitionProperty>- Returns:
- a new instance of
CfnPolicyStore.SchemaDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-