Class CfnPredefinedAttribute.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnPredefinedAttribute.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPredefinedAttribute>
- Enclosing class:
CfnPredefinedAttribute
@Stability(Stable)
public static final class CfnPredefinedAttribute.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPredefinedAttribute>
A fluent builder for
CfnPredefinedAttribute
.-
Method Summary
Modifier and TypeMethodDescriptionattributeConfiguration
(IResolvable 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.attributeConfiguration
(CfnPredefinedAttribute.AttributeConfigurationProperty 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.build()
instanceArn
(String instanceArn) The Amazon Resource Name (ARN) of the instance.The name of the predefined attribute.Values that enable you to categorize your predefined attributes.values
(IResolvable values) The values of a predefined attribute.The values of a predefined attribute.
-
Method Details
-
create
@Stability(Stable) public static CfnPredefinedAttribute.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPredefinedAttribute.Builder
.
-
instanceArn
The Amazon Resource Name (ARN) of the instance.- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the predefined attribute.- Parameters:
name
- The name of the predefined attribute. This parameter is required.- Returns:
this
- See Also:
-
attributeConfiguration
@Stability(Stable) public CfnPredefinedAttribute.Builder attributeConfiguration(IResolvable 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.- 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. This parameter is required.- Returns:
this
- See Also:
-
attributeConfiguration
@Stability(Stable) public CfnPredefinedAttribute.Builder attributeConfiguration(CfnPredefinedAttribute.AttributeConfigurationProperty 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.- 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. This parameter is required.- Returns:
this
- See Also:
-
purposes
Values that enable you to categorize your predefined attributes.You can use them in custom UI elements across the Amazon Connect admin website.
- Parameters:
purposes
- Values that enable you to categorize your predefined attributes. This parameter is required.- Returns:
this
- See Also:
-
values
The values of a predefined attribute.- Parameters:
values
- The values of a predefined attribute. This parameter is required.- Returns:
this
- See Also:
-
values
@Stability(Stable) public CfnPredefinedAttribute.Builder values(CfnPredefinedAttribute.ValuesProperty values) The values of a predefined attribute.- Parameters:
values
- The values of a predefined attribute. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPredefinedAttribute>
- Returns:
- a newly built instance of
CfnPredefinedAttribute
.
-