@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AliasRoutingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The parent object that implements what percentage of traffic will invoke each function version. For more information, see lambda-traffic-shifting-using-aliases.
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()
Set this value to dictate what percentage of traffic will invoke the updated function version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAdditionalVersionWeights(Map<String,Double> additionalVersionWeights)
Set this value to dictate what percentage of traffic will invoke the updated function version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AliasRoutingConfiguration |
withAdditionalVersionWeights(Map<String,Double> additionalVersionWeights)
Set this value to dictate what percentage of traffic will invoke the updated function version.
|
public Map<String,Double> getAdditionalVersionWeights()
Set this value to dictate what percentage of traffic will invoke the updated function version. If set to an empty
string, 100 percent of traffic will invoke function-version
. For more information, see
lambda-traffic-shifting-using-aliases.
function-version
. For more information,
see lambda-traffic-shifting-using-aliases.public void setAdditionalVersionWeights(Map<String,Double> additionalVersionWeights)
Set this value to dictate what percentage of traffic will invoke the updated function version. If set to an empty
string, 100 percent of traffic will invoke function-version
. For more information, see
lambda-traffic-shifting-using-aliases.
additionalVersionWeights
- Set this value to dictate what percentage of traffic will invoke the updated function version. If set to
an empty string, 100 percent of traffic will invoke function-version
. For more information,
see lambda-traffic-shifting-using-aliases.public AliasRoutingConfiguration withAdditionalVersionWeights(Map<String,Double> additionalVersionWeights)
Set this value to dictate what percentage of traffic will invoke the updated function version. If set to an empty
string, 100 percent of traffic will invoke function-version
. For more information, see
lambda-traffic-shifting-using-aliases.
additionalVersionWeights
- Set this value to dictate what percentage of traffic will invoke the updated function version. If set to
an empty string, 100 percent of traffic will invoke function-version
. For more information,
see lambda-traffic-shifting-using-aliases.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 © 2018. All rights reserved.