Class CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty>
- Enclosing interface:
CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty
@Stability(Stable)
public static final class CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableValueValidationOnAssociation(Boolean enableValueValidationOnAssociation) enableValueValidationOnAssociation(IResolvable enableValueValidationOnAssociation) isReadOnly(Boolean isReadOnly) isReadOnly(IResolvable isReadOnly)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableValueValidationOnAssociation
@Stability(Stable) public CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.Builder enableValueValidationOnAssociation(Boolean enableValueValidationOnAssociation) Sets the value ofCfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.getEnableValueValidationOnAssociation()- Parameters:
enableValueValidationOnAssociation- Enables customers to enforce strict validation on the specific values that this predefined attribute can hold.- Returns:
this
-
enableValueValidationOnAssociation
@Stability(Stable) public CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.Builder enableValueValidationOnAssociation(IResolvable enableValueValidationOnAssociation) Sets the value ofCfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.getEnableValueValidationOnAssociation()- Parameters:
enableValueValidationOnAssociation- Enables customers to enforce strict validation on the specific values that this predefined attribute can hold.- Returns:
this
-
isReadOnly
@Stability(Stable) public CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.Builder isReadOnly(Boolean isReadOnly) - Parameters:
isReadOnly- Allows the predefined attribute to show up and be managed in the Amazon Connect UI.- Returns:
this
-
isReadOnly
@Stability(Stable) public CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty.Builder isReadOnly(IResolvable isReadOnly) - Parameters:
isReadOnly- Allows the predefined attribute to show up and be managed in the Amazon Connect UI.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty>- Returns:
- a new instance of
CfnPredefinedAttributePropsMixin.AttributeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-