public AliasRoutingConfiguration addAdditionalVersionWeightsEntry(String key, Double value) {
        if (null == this.additionalVersionWeights) {
            this.additionalVersionWeights = new com.amazonaws.internal.SdkInternalMap<String, Double>();
        }
        if (this.additionalVersionWeights.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.additionalVersionWeights.put(key, value);
        return this;
    }
Add a single AdditionalVersionWeights entry

@see AliasRoutingConfiguration#withAdditionalVersionWeights
@returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/AliasRoutingConfiguration.java