@Stability(value=Stable) public static final class TrafficRoutingConfig.Builder extends Object implements software.amazon.jsii.Builder<TrafficRoutingConfig>
TrafficRoutingConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TrafficRoutingConfig |
build()
Builds the configured instance.
|
TrafficRoutingConfig.Builder |
timeBasedCanary(CanaryTrafficRoutingConfig timeBasedCanary)
Sets the value of
TrafficRoutingConfig.getTimeBasedCanary() |
TrafficRoutingConfig.Builder |
timeBasedLinear(LinearTrafficRoutingConfig timeBasedLinear)
Sets the value of
TrafficRoutingConfig.getTimeBasedLinear() |
TrafficRoutingConfig.Builder |
type(String type)
Sets the value of
TrafficRoutingConfig.getType() |
@Stability(value=Stable) public TrafficRoutingConfig.Builder type(String type)
TrafficRoutingConfig.getType()
type
- The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration. This parameter is required.this
@Stability(value=Stable) public TrafficRoutingConfig.Builder timeBasedCanary(CanaryTrafficRoutingConfig timeBasedCanary)
TrafficRoutingConfig.getTimeBasedCanary()
timeBasedCanary
- A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments.this
@Stability(value=Stable) public TrafficRoutingConfig.Builder timeBasedLinear(LinearTrafficRoutingConfig timeBasedLinear)
TrafficRoutingConfig.getTimeBasedLinear()
timeBasedLinear
- A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment.this
@Stability(value=Stable) public TrafficRoutingConfig build()
build
in interface software.amazon.jsii.Builder<TrafficRoutingConfig>
TrafficRoutingConfig
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.