@Generated(value="software.amazon.awssdk:codegen") public final class TimeBasedLinear extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeBasedLinear.Builder,TimeBasedLinear>
A configuration that shifts traffic from one version of a Lambda function or 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 ECS task sets are specified in the deployment's AppSpec file.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeBasedLinear.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TimeBasedLinear.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
linearInterval()
The number of minutes between each incremental traffic shift of a
TimeBasedLinear deployment. |
Integer |
linearPercentage()
The percentage of traffic that is shifted at the start of each increment of a
TimeBasedLinear
deployment. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeBasedLinear.Builder> |
serializableBuilderClass() |
TimeBasedLinear.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer linearPercentage()
The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
deployment.
TimeBasedLinear deployment.public final Integer linearInterval()
The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.
TimeBasedLinear
deployment.public TimeBasedLinear.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimeBasedLinear.Builder,TimeBasedLinear>public static TimeBasedLinear.Builder builder()
public static Class<? extends TimeBasedLinear.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.