@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)
Marshalls this structured data using the given
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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.