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 associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.attributeConfiguration
(CfnPredefinedAttribute.AttributeConfigurationProperty attributeConfiguration) Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.build()
instanceArn
(String instanceArn) The Amazon Resource Name (ARN) of the instance.The name of the predefined attribute.The assigned purposes of the predefined attribute.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 associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.- Parameters:
attributeConfiguration
- Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services. This parameter is required.- Returns:
this
- See Also:
-
attributeConfiguration
@Stability(Stable) public CfnPredefinedAttribute.Builder attributeConfiguration(CfnPredefinedAttribute.AttributeConfigurationProperty attributeConfiguration) Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.- Parameters:
attributeConfiguration
- Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services. This parameter is required.- Returns:
this
- See Also:
-
purposes
The assigned purposes of the predefined attribute.- Parameters:
purposes
- The assigned purposes of the predefined attribute. 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
.
-