public static final class CfnCodeDeployBlueGreenEcsAttributes.Builder
extends java.lang.Object
CfnCodeDeployBlueGreenEcsAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCodeDeployBlueGreenEcsAttributes |
build()
Builds the configured instance.
|
CfnCodeDeployBlueGreenEcsAttributes.Builder |
taskDefinitions(java.util.List<java.lang.String> taskDefinitions)
Sets the value of
CfnCodeDeployBlueGreenEcsAttributes.getTaskDefinitions() |
CfnCodeDeployBlueGreenEcsAttributes.Builder |
taskSets(java.util.List<java.lang.String> taskSets)
Sets the value of
CfnCodeDeployBlueGreenEcsAttributes.getTaskSets() |
CfnCodeDeployBlueGreenEcsAttributes.Builder |
trafficRouting(CfnTrafficRouting trafficRouting)
Sets the value of
CfnCodeDeployBlueGreenEcsAttributes.getTrafficRouting() |
public CfnCodeDeployBlueGreenEcsAttributes.Builder taskDefinitions(java.util.List<java.lang.String> taskDefinitions)
CfnCodeDeployBlueGreenEcsAttributes.getTaskDefinitions()
taskDefinitions
- The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions. This parameter is required.this
public CfnCodeDeployBlueGreenEcsAttributes.Builder taskSets(java.util.List<java.lang.String> taskSets)
CfnCodeDeployBlueGreenEcsAttributes.getTaskSets()
taskSets
- The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets. This parameter is required.this
public CfnCodeDeployBlueGreenEcsAttributes.Builder trafficRouting(CfnTrafficRouting trafficRouting)
CfnCodeDeployBlueGreenEcsAttributes.getTrafficRouting()
trafficRouting
- The traffic routing configuration. This parameter is required.this
public CfnCodeDeployBlueGreenEcsAttributes build()
CfnCodeDeployBlueGreenEcsAttributes
java.lang.NullPointerException
- if any required attribute was not provided