@Generated(value="software.amazon.awssdk:codegen") public final class AliasRoutingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AliasRoutingConfiguration.Builder,AliasRoutingConfiguration>
The traffic-shifting configuration of a Lambda function alias.
Modifier and Type | Class and Description |
---|---|
static interface |
AliasRoutingConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,Double> |
additionalVersionWeights()
The name of the second alias, and the percentage of traffic that's routed to it.
|
static AliasRoutingConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdditionalVersionWeights()
Returns true if the AdditionalVersionWeights property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AliasRoutingConfiguration.Builder> |
serializableBuilderClass() |
AliasRoutingConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasAdditionalVersionWeights()
public Map<String,Double> additionalVersionWeights()
The name of the second alias, and the percentage of traffic that's routed to it.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAdditionalVersionWeights()
to see if a value was sent in this field.
public AliasRoutingConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AliasRoutingConfiguration.Builder,AliasRoutingConfiguration>
public static AliasRoutingConfiguration.Builder builder()
public static Class<? extends AliasRoutingConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.