Class CfnTrafficDistributionGroup.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnTrafficDistributionGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrafficDistributionGroup>
- Enclosing class:
CfnTrafficDistributionGroup
@Stability(Stable)
public static final class CfnTrafficDistributionGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrafficDistributionGroup>
A fluent builder for
CfnTrafficDistributionGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The description of the traffic distribution group.instanceArn
(String instanceArn) The Amazon Resource Name (ARN).The name of the traffic distribution group.The tags used to organize, track, or control access for this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnTrafficDistributionGroup.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
CfnTrafficDistributionGroup.Builder
.
-
instanceArn
The Amazon Resource Name (ARN).- Parameters:
instanceArn
- The Amazon Resource Name (ARN). This parameter is required.- Returns:
this
- See Also:
-
name
The name of the traffic distribution group.- Parameters:
name
- The name of the traffic distribution group. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the traffic distribution group.- Parameters:
description
- The description of the traffic distribution group. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags used to organize, track, or control access for this resource.For example, {"tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrafficDistributionGroup>
- Returns:
- a newly built instance of
CfnTrafficDistributionGroup
.
-