@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AliasRoutingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The traffic-shifting configuration of a Lambda function alias.
Constructor and Description |
---|
AliasRoutingConfiguration() |
Modifier and Type | Method and Description |
---|---|
AliasRoutingConfiguration |
addAdditionalVersionWeightsEntry(String key,
Double value) |
AliasRoutingConfiguration |
clearAdditionalVersionWeightsEntries()
Removes all the entries added into AdditionalVersionWeights.
|
AliasRoutingConfiguration |
clone() |
boolean |
equals(Object obj) |
Map<String,Double> |
getAdditionalVersionWeights()
The name of the second alias, and the percentage of traffic that's routed to it.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAdditionalVersionWeights(Map<String,Double> additionalVersionWeights)
The name of the second alias, and the percentage of traffic that's routed to it.
|
String |
toString()
Returns a string representation of this object.
|
AliasRoutingConfiguration |
withAdditionalVersionWeights(Map<String,Double> additionalVersionWeights)
The name of the second alias, and the percentage of traffic that's routed to it.
|
public Map<String,Double> getAdditionalVersionWeights()
The name of the second alias, and the percentage of traffic that's routed to it.
public void setAdditionalVersionWeights(Map<String,Double> additionalVersionWeights)
The name of the second alias, and the percentage of traffic that's routed to it.
additionalVersionWeights
- The name of the second alias, and the percentage of traffic that's routed to it.public AliasRoutingConfiguration withAdditionalVersionWeights(Map<String,Double> additionalVersionWeights)
The name of the second alias, and the percentage of traffic that's routed to it.
additionalVersionWeights
- The name of the second alias, and the percentage of traffic that's routed to it.public AliasRoutingConfiguration addAdditionalVersionWeightsEntry(String key, Double value)
public AliasRoutingConfiguration clearAdditionalVersionWeightsEntries()
public String toString()
toString
in class Object
Object.toString()
public AliasRoutingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.