Class CfnServicePropsMixin.AdvancedConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnServicePropsMixin.AdvancedConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.AdvancedConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.AdvancedConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.AdvancedConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.AdvancedConfigurationProperty>
A builder for
CfnServicePropsMixin.AdvancedConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternateTargetGroupArn(String alternateTargetGroupArn) build()Builds the configured instance.productionListenerRule(String productionListenerRule) Sets the value ofCfnServicePropsMixin.AdvancedConfigurationProperty.getRoleArn()testListenerRule(String testListenerRule) Sets the value ofCfnServicePropsMixin.AdvancedConfigurationProperty.getTestListenerRule()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alternateTargetGroupArn
@Stability(Stable) public CfnServicePropsMixin.AdvancedConfigurationProperty.Builder alternateTargetGroupArn(String alternateTargetGroupArn) - Parameters:
alternateTargetGroupArn- The Amazon Resource Name (ARN) of the alternate target group for Amazon ECS blue/green deployments.- Returns:
this
-
productionListenerRule
@Stability(Stable) public CfnServicePropsMixin.AdvancedConfigurationProperty.Builder productionListenerRule(String productionListenerRule) - Parameters:
productionListenerRule- The Amazon Resource Name (ARN) that that identifies the production listener rule (in the case of an Application Load Balancer) or listener (in the case for an Network Load Balancer) for routing production traffic.- Returns:
this
-
roleArn
@Stability(Stable) public CfnServicePropsMixin.AdvancedConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnServicePropsMixin.AdvancedConfigurationProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call the Elastic Load Balancing APIs for you.- Returns:
this
-
testListenerRule
@Stability(Stable) public CfnServicePropsMixin.AdvancedConfigurationProperty.Builder testListenerRule(String testListenerRule) Sets the value ofCfnServicePropsMixin.AdvancedConfigurationProperty.getTestListenerRule()- Parameters:
testListenerRule- The Amazon Resource Name (ARN) that identifies ) that identifies the test listener rule (in the case of an Application Load Balancer) or listener (in the case for an Network Load Balancer) for routing test traffic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.AdvancedConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.AdvancedConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-