@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentCanarySettings extends Object implements Serializable, Cloneable, StructuredPojo
The input configuration for a canary deployment.
Constructor and Description |
---|
DeploymentCanarySettings() |
Modifier and Type | Method and Description |
---|---|
DeploymentCanarySettings |
addStageVariableOverridesEntry(String key,
String value)
Add a single StageVariableOverrides entry
|
DeploymentCanarySettings |
clearStageVariableOverridesEntries()
Removes all the entries added into StageVariableOverrides.
|
DeploymentCanarySettings |
clone() |
boolean |
equals(Object obj) |
Double |
getPercentTraffic()
The percentage (0.0-100.0) of traffic routed to the canary deployment.
|
Map<String,String> |
getStageVariableOverrides()
A stage variable overrides used for the canary release deployment.
|
Boolean |
getUseStageCache()
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
|
int |
hashCode() |
Boolean |
isUseStageCache()
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPercentTraffic(Double percentTraffic)
The percentage (0.0-100.0) of traffic routed to the canary deployment.
|
void |
setStageVariableOverrides(Map<String,String> stageVariableOverrides)
A stage variable overrides used for the canary release deployment.
|
void |
setUseStageCache(Boolean useStageCache)
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentCanarySettings |
withPercentTraffic(Double percentTraffic)
The percentage (0.0-100.0) of traffic routed to the canary deployment.
|
DeploymentCanarySettings |
withStageVariableOverrides(Map<String,String> stageVariableOverrides)
A stage variable overrides used for the canary release deployment.
|
DeploymentCanarySettings |
withUseStageCache(Boolean useStageCache)
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
|
public void setPercentTraffic(Double percentTraffic)
The percentage (0.0-100.0) of traffic routed to the canary deployment.
percentTraffic
- The percentage (0.0-100.0) of traffic routed to the canary deployment.public Double getPercentTraffic()
The percentage (0.0-100.0) of traffic routed to the canary deployment.
public DeploymentCanarySettings withPercentTraffic(Double percentTraffic)
The percentage (0.0-100.0) of traffic routed to the canary deployment.
percentTraffic
- The percentage (0.0-100.0) of traffic routed to the canary deployment.public Map<String,String> getStageVariableOverrides()
A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
public void setStageVariableOverrides(Map<String,String> stageVariableOverrides)
A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
stageVariableOverrides
- A stage variable overrides used for the canary release deployment. They can override existing stage
variables or add new stage variables for the canary release deployment. These stage variables are
represented as a string-to-string map between stage variable names and their values.public DeploymentCanarySettings withStageVariableOverrides(Map<String,String> stageVariableOverrides)
A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
stageVariableOverrides
- A stage variable overrides used for the canary release deployment. They can override existing stage
variables or add new stage variables for the canary release deployment. These stage variables are
represented as a string-to-string map between stage variable names and their values.public DeploymentCanarySettings addStageVariableOverridesEntry(String key, String value)
public DeploymentCanarySettings clearStageVariableOverridesEntries()
public void setUseStageCache(Boolean useStageCache)
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
useStageCache
- A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.public Boolean getUseStageCache()
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
public DeploymentCanarySettings withUseStageCache(Boolean useStageCache)
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
useStageCache
- A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.public Boolean isUseStageCache()
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
public String toString()
toString
in class Object
Object.toString()
public DeploymentCanarySettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.