@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsApiGatewayCanarySettings extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about settings for canary deployment in the stage.
Constructor and Description |
---|
AwsApiGatewayCanarySettings() |
Modifier and Type | Method and Description |
---|---|
AwsApiGatewayCanarySettings |
addStageVariableOverridesEntry(String key,
String value)
Add a single StageVariableOverrides entry
|
AwsApiGatewayCanarySettings |
clearStageVariableOverridesEntries()
Removes all the entries added into StageVariableOverrides.
|
AwsApiGatewayCanarySettings |
clone() |
boolean |
equals(Object obj) |
String |
getDeploymentId()
The deployment identifier for the canary deployment.
|
Double |
getPercentTraffic()
The percentage of traffic that is diverted to a canary deployment.
|
Map<String,String> |
getStageVariableOverrides()
Stage variables that are overridden in the canary release deployment.
|
Boolean |
getUseStageCache()
Indicates whether the canary deployment uses the stage cache.
|
int |
hashCode() |
Boolean |
isUseStageCache()
Indicates whether the canary deployment uses the stage cache.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeploymentId(String deploymentId)
The deployment identifier for the canary deployment.
|
void |
setPercentTraffic(Double percentTraffic)
The percentage of traffic that is diverted to a canary deployment.
|
void |
setStageVariableOverrides(Map<String,String> stageVariableOverrides)
Stage variables that are overridden in the canary release deployment.
|
void |
setUseStageCache(Boolean useStageCache)
Indicates whether the canary deployment uses the stage cache.
|
String |
toString()
Returns a string representation of this object.
|
AwsApiGatewayCanarySettings |
withDeploymentId(String deploymentId)
The deployment identifier for the canary deployment.
|
AwsApiGatewayCanarySettings |
withPercentTraffic(Double percentTraffic)
The percentage of traffic that is diverted to a canary deployment.
|
AwsApiGatewayCanarySettings |
withStageVariableOverrides(Map<String,String> stageVariableOverrides)
Stage variables that are overridden in the canary release deployment.
|
AwsApiGatewayCanarySettings |
withUseStageCache(Boolean useStageCache)
Indicates whether the canary deployment uses the stage cache.
|
public void setPercentTraffic(Double percentTraffic)
The percentage of traffic that is diverted to a canary deployment.
percentTraffic
- The percentage of traffic that is diverted to a canary deployment.public Double getPercentTraffic()
The percentage of traffic that is diverted to a canary deployment.
public AwsApiGatewayCanarySettings withPercentTraffic(Double percentTraffic)
The percentage of traffic that is diverted to a canary deployment.
percentTraffic
- The percentage of traffic that is diverted to a canary deployment.public void setDeploymentId(String deploymentId)
The deployment identifier for the canary deployment.
deploymentId
- The deployment identifier for the canary deployment.public String getDeploymentId()
The deployment identifier for the canary deployment.
public AwsApiGatewayCanarySettings withDeploymentId(String deploymentId)
The deployment identifier for the canary deployment.
deploymentId
- The deployment identifier for the canary deployment.public Map<String,String> getStageVariableOverrides()
Stage variables that are overridden in the canary release deployment. The variables include new stage variables that are introduced in the canary.
Each variable is represented as a string-to-string map between the stage variable name and the variable value.
Each variable is represented as a string-to-string map between the stage variable name and the variable value.
public void setStageVariableOverrides(Map<String,String> stageVariableOverrides)
Stage variables that are overridden in the canary release deployment. The variables include new stage variables that are introduced in the canary.
Each variable is represented as a string-to-string map between the stage variable name and the variable value.
stageVariableOverrides
- Stage variables that are overridden in the canary release deployment. The variables include new stage
variables that are introduced in the canary.
Each variable is represented as a string-to-string map between the stage variable name and the variable value.
public AwsApiGatewayCanarySettings withStageVariableOverrides(Map<String,String> stageVariableOverrides)
Stage variables that are overridden in the canary release deployment. The variables include new stage variables that are introduced in the canary.
Each variable is represented as a string-to-string map between the stage variable name and the variable value.
stageVariableOverrides
- Stage variables that are overridden in the canary release deployment. The variables include new stage
variables that are introduced in the canary.
Each variable is represented as a string-to-string map between the stage variable name and the variable value.
public AwsApiGatewayCanarySettings addStageVariableOverridesEntry(String key, String value)
public AwsApiGatewayCanarySettings clearStageVariableOverridesEntries()
public void setUseStageCache(Boolean useStageCache)
Indicates whether the canary deployment uses the stage cache.
useStageCache
- Indicates whether the canary deployment uses the stage cache.public Boolean getUseStageCache()
Indicates whether the canary deployment uses the stage cache.
public AwsApiGatewayCanarySettings withUseStageCache(Boolean useStageCache)
Indicates whether the canary deployment uses the stage cache.
useStageCache
- Indicates whether the canary deployment uses the stage cache.public Boolean isUseStageCache()
Indicates whether the canary deployment uses the stage cache.
public String toString()
toString
in class Object
Object.toString()
public AwsApiGatewayCanarySettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.