Class CfnTrafficDistributionGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnTrafficDistributionGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrafficDistributionGroupProps>
- Enclosing interface:
CfnTrafficDistributionGroupProps
@Stability(Stable)
public static final class CfnTrafficDistributionGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrafficDistributionGroupProps>
A builder for
CfnTrafficDistributionGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnTrafficDistributionGroupProps.getDescription()
instanceArn
(String instanceArn) Sets the value ofCfnTrafficDistributionGroupProps.getInstanceArn()
Sets the value ofCfnTrafficDistributionGroupProps.getName()
Sets the value ofCfnTrafficDistributionGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnTrafficDistributionGroupProps.getInstanceArn()
- Parameters:
instanceArn
- The Amazon Resource Name (ARN). This parameter is required.- Returns:
this
-
name
Sets the value ofCfnTrafficDistributionGroupProps.getName()
- Parameters:
name
- The name of the traffic distribution group. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnTrafficDistributionGroupProps.getDescription()
- Parameters:
description
- The description of the traffic distribution group.- Returns:
this
-
tags
@Stability(Stable) public CfnTrafficDistributionGroupProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnTrafficDistributionGroupProps.getTags()
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. For example, {"tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrafficDistributionGroupProps>
- Returns:
- a new instance of
CfnTrafficDistributionGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-