Class CfnPredefinedAttribute.AttributeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnPredefinedAttribute.AttributeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPredefinedAttribute.AttributeConfigurationProperty>
- Enclosing interface:
CfnPredefinedAttribute.AttributeConfigurationProperty
@Stability(Stable)
public static final class CfnPredefinedAttribute.AttributeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPredefinedAttribute.AttributeConfigurationProperty>
A builder for
CfnPredefinedAttribute.AttributeConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enableValueValidationOnAssociation
(Boolean enableValueValidationOnAssociation) enableValueValidationOnAssociation
(IResolvable enableValueValidationOnAssociation) isReadOnly
(Boolean isReadOnly) Sets the value ofCfnPredefinedAttribute.AttributeConfigurationProperty.getIsReadOnly()
isReadOnly
(IResolvable isReadOnly) Sets the value ofCfnPredefinedAttribute.AttributeConfigurationProperty.getIsReadOnly()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableValueValidationOnAssociation
@Stability(Stable) public CfnPredefinedAttribute.AttributeConfigurationProperty.Builder enableValueValidationOnAssociation(Boolean enableValueValidationOnAssociation) Sets the value ofCfnPredefinedAttribute.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 CfnPredefinedAttribute.AttributeConfigurationProperty.Builder enableValueValidationOnAssociation(IResolvable enableValueValidationOnAssociation) Sets the value ofCfnPredefinedAttribute.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 CfnPredefinedAttribute.AttributeConfigurationProperty.Builder isReadOnly(Boolean isReadOnly) Sets the value ofCfnPredefinedAttribute.AttributeConfigurationProperty.getIsReadOnly()
- Parameters:
isReadOnly
- Allows the predefined attribute to show up and be managed in the Amazon Connect UI.- Returns:
this
-
isReadOnly
@Stability(Stable) public CfnPredefinedAttribute.AttributeConfigurationProperty.Builder isReadOnly(IResolvable isReadOnly) Sets the value ofCfnPredefinedAttribute.AttributeConfigurationProperty.getIsReadOnly()
- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPredefinedAttribute.AttributeConfigurationProperty>
- Returns:
- a new instance of
CfnPredefinedAttribute.AttributeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-