@Generated(value="software.amazon.awssdk:codegen") public final class CanarySettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CanarySettings.Builder,CanarySettings>
Configuration settings of a canary deployment.
Modifier and Type | Class and Description |
---|---|
static interface |
CanarySettings.Builder |
Modifier and Type | Method and Description |
---|---|
static CanarySettings.Builder |
builder() |
String |
deploymentId()
The ID of the canary deployment.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
percentTraffic()
The percent (0-100) of traffic diverted to a canary deployment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CanarySettings.Builder> |
serializableBuilderClass() |
Map<String,String> |
stageVariableOverrides()
Stage variables overridden for a canary release deployment, including new stage variables introduced in the
canary.
|
CanarySettings.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Boolean |
useStageCache()
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
|
copy
public Double percentTraffic()
The percent (0-100) of traffic diverted to a canary deployment.
public String deploymentId()
The ID of the canary deployment.
public Map<String,String> stageVariableOverrides()
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean useStageCache()
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
public CanarySettings.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CanarySettings.Builder,CanarySettings>
public static CanarySettings.Builder builder()
public static Class<? extends CanarySettings.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.