@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 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.
Modifier and Type | Class and Description |
---|---|
static interface |
TimeBasedLinear.Builder |
Modifier and Type | Method and Description |
---|---|
static TimeBasedLinear.Builder |
builder() |
boolean |
equals(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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer linearPercentage()
The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
deployment.
TimeBasedLinear
deployment.public Integer linearInterval()
The number of minutes between each incremental traffic shift of a TimeBasedLinear
deployment.
TimeBasedLinear
deployment.public TimeBasedLinear.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TimeBasedLinear.Builder,TimeBasedLinear>
public static TimeBasedLinear.Builder builder()
public static Class<? extends TimeBasedLinear.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.