public static interface TrafficRoutingConfig.Builder extends SdkPojo, CopyableBuilder<TrafficRoutingConfig.Builder,TrafficRoutingConfig>
Modifier and Type | Method and Description |
---|---|
default TrafficRoutingConfig.Builder |
timeBasedCanary(Consumer<TimeBasedCanary.Builder> timeBasedCanary)
A configuration that shifts traffic from one version of a Lambda function to another in two increments.
|
TrafficRoutingConfig.Builder |
timeBasedCanary(TimeBasedCanary timeBasedCanary)
A configuration that shifts traffic from one version of a Lambda function to another in two increments.
|
default TrafficRoutingConfig.Builder |
timeBasedLinear(Consumer<TimeBasedLinear.Builder> timeBasedLinear)
A configuration that shifts traffic from one version of a Lambda function to another in equal increments,
with an equal number of minutes between each increment.
|
TrafficRoutingConfig.Builder |
timeBasedLinear(TimeBasedLinear timeBasedLinear)
A configuration that shifts traffic from one version of a Lambda function to another in equal increments,
with an equal number of minutes between each increment.
|
TrafficRoutingConfig.Builder |
type(String type)
The type of traffic shifting (
TimeBasedCanary or TimeBasedLinear ) used by a
deployment configuration . |
TrafficRoutingConfig.Builder |
type(TrafficRoutingType type)
The type of traffic shifting (
TimeBasedCanary or TimeBasedLinear ) used by a
deployment configuration . |
copy
applyMutation, build
TrafficRoutingConfig.Builder type(String type)
The type of traffic shifting (TimeBasedCanary
or TimeBasedLinear
) used by a
deployment configuration .
type
- The type of traffic shifting (TimeBasedCanary
or TimeBasedLinear
) used by a
deployment configuration .TrafficRoutingType
,
TrafficRoutingType
TrafficRoutingConfig.Builder type(TrafficRoutingType type)
The type of traffic shifting (TimeBasedCanary
or TimeBasedLinear
) used by a
deployment configuration .
type
- The type of traffic shifting (TimeBasedCanary
or TimeBasedLinear
) used by a
deployment configuration .TrafficRoutingType
,
TrafficRoutingType
TrafficRoutingConfig.Builder timeBasedCanary(TimeBasedCanary timeBasedCanary)
A configuration that shifts traffic from one version of a Lambda function to another in two increments. The original and target Lambda function versions are specified in the deployment's AppSpec file.
timeBasedCanary
- A configuration that shifts traffic from one version of a Lambda function to another in two
increments. The original and target Lambda function versions are specified in the deployment's AppSpec
file.default TrafficRoutingConfig.Builder timeBasedCanary(Consumer<TimeBasedCanary.Builder> timeBasedCanary)
A configuration that shifts traffic from one version of a Lambda function to another in two increments. The original and target Lambda function versions are specified in the deployment's AppSpec file.
This is a convenience that creates an instance of theTimeBasedCanary.Builder
avoiding the need to
create one manually via TimeBasedCanary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to timeBasedCanary(TimeBasedCanary)
.timeBasedCanary
- a consumer that will call methods on TimeBasedCanary.Builder
timeBasedCanary(TimeBasedCanary)
TrafficRoutingConfig.Builder timeBasedLinear(TimeBasedLinear timeBasedLinear)
A configuration that shifts traffic from one version of a Lambda function to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions are specified in the deployment's AppSpec file.
timeBasedLinear
- A configuration that shifts traffic from one version of a Lambda function to another in equal
increments, with an equal number of minutes between each increment. The original and target Lambda
function versions are specified in the deployment's AppSpec file.default TrafficRoutingConfig.Builder timeBasedLinear(Consumer<TimeBasedLinear.Builder> timeBasedLinear)
A configuration that shifts traffic from one version of a Lambda function to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions are specified in the deployment's AppSpec file.
This is a convenience that creates an instance of theTimeBasedLinear.Builder
avoiding the need to
create one manually via TimeBasedLinear.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to timeBasedLinear(TimeBasedLinear)
.timeBasedLinear
- a consumer that will call methods on TimeBasedLinear.Builder
timeBasedLinear(TimeBasedLinear)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.