Class CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty>
- Enclosing interface:
CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.getHeader()header(IResolvable header) Sets the value ofCfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.getHeader()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
header
@Stability(Stable) public CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.Builder header(IResolvable header) Sets the value ofCfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.getHeader()- Parameters:
header- The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing. These rules provide fine-grained control over test traffic routing based on request headers.- Returns:
this
-
header
@Stability(Stable) public CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.Builder header(CfnServicePropsMixin.ServiceConnectTestTrafficRulesHeaderProperty header) Sets the value ofCfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.getHeader()- Parameters:
header- The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing. These rules provide fine-grained control over test traffic routing based on request headers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty>- Returns:
- a new instance of
CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty - Throws:
NullPointerException- if any required attribute was not provided
-