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 TypeMethodDescriptionbuild()
instanceArn
(String instanceArn) The Amazon Resource Name (ARN) of the instance.The name 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:
-
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
.
-