Class CfnPredefinedAttributeProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnPredefinedAttributeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPredefinedAttributeProps>
- Enclosing interface:
CfnPredefinedAttributeProps
@Stability(Stable)
public static final class CfnPredefinedAttributeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPredefinedAttributeProps>
A builder for
CfnPredefinedAttributeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeConfiguration(IResolvable attributeConfiguration) Sets the value ofCfnPredefinedAttributeProps.getAttributeConfiguration()attributeConfiguration(CfnPredefinedAttribute.AttributeConfigurationProperty attributeConfiguration) Sets the value ofCfnPredefinedAttributeProps.getAttributeConfiguration()build()Builds the configured instance.instanceArn(String instanceArn) Sets the value ofCfnPredefinedAttributeProps.getInstanceArn()Sets the value ofCfnPredefinedAttributeProps.getName()Sets the value ofCfnPredefinedAttributeProps.getPurposes()values(IResolvable values) Sets the value ofCfnPredefinedAttributeProps.getValues()Sets the value ofCfnPredefinedAttributeProps.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnPredefinedAttributeProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPredefinedAttributeProps.getName()- Parameters:
name- The name of the predefined attribute. This parameter is required.- Returns:
this
-
attributeConfiguration
@Stability(Stable) public CfnPredefinedAttributeProps.Builder attributeConfiguration(IResolvable attributeConfiguration) Sets the value ofCfnPredefinedAttributeProps.getAttributeConfiguration()- Parameters:
attributeConfiguration- Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.- Returns:
this
-
attributeConfiguration
@Stability(Stable) public CfnPredefinedAttributeProps.Builder attributeConfiguration(CfnPredefinedAttribute.AttributeConfigurationProperty attributeConfiguration) Sets the value ofCfnPredefinedAttributeProps.getAttributeConfiguration()- Parameters:
attributeConfiguration- Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.- Returns:
this
-
purposes
Sets the value ofCfnPredefinedAttributeProps.getPurposes()- Parameters:
purposes- Values that enable you to categorize your predefined attributes. You can use them in custom UI elements across the Amazon Connect admin website.- Returns:
this
-
values
Sets the value ofCfnPredefinedAttributeProps.getValues()- Parameters:
values- The values of a predefined attribute.- Returns:
this
-
values
@Stability(Stable) public CfnPredefinedAttributeProps.Builder values(CfnPredefinedAttribute.ValuesProperty values) Sets the value ofCfnPredefinedAttributeProps.getValues()- Parameters:
values- The values of a predefined attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPredefinedAttributeProps>- Returns:
- a new instance of
CfnPredefinedAttributeProps - Throws:
NullPointerException- if any required attribute was not provided
-