Class CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternateTargetGroupArn(String alternateTargetGroupArn) build()Builds the configured instance.productionListenerRule(String productionListenerRule) testListenerRule(String testListenerRule)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alternateTargetGroupArn
@Stability(Stable) public CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.Builder alternateTargetGroupArn(String alternateTargetGroupArn) Sets the value ofCfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.getAlternateTargetGroupArn()- Parameters:
alternateTargetGroupArn- the value to be set.- Returns:
this
-
productionListenerRule
@Stability(Stable) public CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.Builder productionListenerRule(String productionListenerRule) Sets the value ofCfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.getProductionListenerRule()- Parameters:
productionListenerRule- the value to be set.- Returns:
this
-
testListenerRule
@Stability(Stable) public CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.Builder testListenerRule(String testListenerRule) Sets the value ofCfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty.getTestListenerRule()- Parameters:
testListenerRule- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.VpcLatticeAdvancedConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-