@Generated(value="software.amazon.awssdk:codegen") public final class TimeBasedCanary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<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.
Modifier and Type | Class and Description |
---|---|
static interface |
TimeBasedCanary.Builder |
Modifier and Type | Method and Description |
---|---|
static TimeBasedCanary.Builder |
builder() |
Integer |
canaryInterval()
The number of minutes between the first and second traffic shifts of a
TimeBasedCanary deployment. |
Integer |
canaryPercentage()
The percentage of traffic to shift in the first increment of a
TimeBasedCanary deployment. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeBasedCanary.Builder> |
serializableBuilderClass() |
TimeBasedCanary.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 canaryPercentage()
The percentage of traffic to shift in the first increment of a TimeBasedCanary
deployment.
TimeBasedCanary
deployment.public Integer canaryInterval()
The number of minutes between the first and second traffic shifts of a TimeBasedCanary
deployment.
TimeBasedCanary
deployment.public TimeBasedCanary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TimeBasedCanary.Builder,TimeBasedCanary>
public static TimeBasedCanary.Builder builder()
public static Class<? extends TimeBasedCanary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.