public static final class CfnDeploymentGroup.TrafficRouteProperty.Builder
extends java.lang.Object
CfnDeploymentGroup.TrafficRouteProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDeploymentGroup.TrafficRouteProperty |
build()
Builds the configured instance.
|
CfnDeploymentGroup.TrafficRouteProperty.Builder |
listenerArns(java.util.List<java.lang.String> listenerArns)
Sets the value of
CfnDeploymentGroup.TrafficRouteProperty.getListenerArns() |
public CfnDeploymentGroup.TrafficRouteProperty.Builder listenerArns(java.util.List<java.lang.String> listenerArns)
CfnDeploymentGroup.TrafficRouteProperty.getListenerArns()
listenerArns
- The Amazon Resource Name (ARN) of one listener.
The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one.this
public CfnDeploymentGroup.TrafficRouteProperty build()
CfnDeploymentGroup.TrafficRouteProperty
java.lang.NullPointerException
- if any required attribute was not provided