@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContinuousDeploymentSingleWeightConfig extends Object implements Serializable, Cloneable
Contains the percentage of traffic to send to a staging distribution.
Constructor and Description |
---|
ContinuousDeploymentSingleWeightConfig() |
Modifier and Type | Method and Description |
---|---|
ContinuousDeploymentSingleWeightConfig |
clone() |
boolean |
equals(Object obj) |
SessionStickinessConfig |
getSessionStickinessConfig() |
Float |
getWeight()
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15.
|
int |
hashCode() |
void |
setSessionStickinessConfig(SessionStickinessConfig sessionStickinessConfig) |
void |
setWeight(Float weight)
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15.
|
String |
toString()
Returns a string representation of this object.
|
ContinuousDeploymentSingleWeightConfig |
withSessionStickinessConfig(SessionStickinessConfig sessionStickinessConfig) |
ContinuousDeploymentSingleWeightConfig |
withWeight(Float weight)
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15.
|
public ContinuousDeploymentSingleWeightConfig()
public void setWeight(Float weight)
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.
weight
- The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and
0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.public Float getWeight()
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.
public ContinuousDeploymentSingleWeightConfig withWeight(Float weight)
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.
weight
- The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and
0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.public void setSessionStickinessConfig(SessionStickinessConfig sessionStickinessConfig)
sessionStickinessConfig
- public SessionStickinessConfig getSessionStickinessConfig()
public ContinuousDeploymentSingleWeightConfig withSessionStickinessConfig(SessionStickinessConfig sessionStickinessConfig)
sessionStickinessConfig
- public String toString()
toString
in class Object
Object.toString()
public ContinuousDeploymentSingleWeightConfig clone()