@Generated(value="software.amazon.awssdk:codegen") public final class TrafficRoutingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrafficRoutingConfig.Builder,TrafficRoutingConfig>
The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an Lambda deployment, or from one Amazon ECS task set to another during an Amazon ECS deployment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TrafficRoutingConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TrafficRoutingConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrafficRoutingConfig.Builder> |
serializableBuilderClass() |
TimeBasedCanary |
timeBasedCanary()
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two
increments.
|
TimeBasedLinear |
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.
|
TrafficRoutingConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TrafficRoutingType |
type()
The type of traffic shifting (
TimeBasedCanary or TimeBasedLinear) used by a deployment
configuration. |
String |
typeAsString()
The type of traffic shifting (
TimeBasedCanary or TimeBasedLinear) used by a deployment
configuration. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TrafficRoutingType type()
The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment
configuration.
If the service returns an enum value that is not available in the current SDK version, type will return
TrafficRoutingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
TimeBasedCanary or TimeBasedLinear) used by a
deployment configuration.TrafficRoutingTypepublic final String typeAsString()
The type of traffic shifting (TimeBasedCanary or TimeBasedLinear) used by a deployment
configuration.
If the service returns an enum value that is not available in the current SDK version, type will return
TrafficRoutingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
TimeBasedCanary or TimeBasedLinear) used by a
deployment configuration.TrafficRoutingTypepublic final TimeBasedCanary timeBasedCanary()
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
public final TimeBasedLinear 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. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file.
public TrafficRoutingConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TrafficRoutingConfig.Builder,TrafficRoutingConfig>public static TrafficRoutingConfig.Builder builder()
public static Class<? extends TrafficRoutingConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.