public GetManagedResourceResult addAppliedWeightsEntry(String key, Float value) {
        if (null == this.appliedWeights) {
            this.appliedWeights = new java.util.HashMap<String, Float>();
        }
        if (this.appliedWeights.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.appliedWeights.put(key, value);
        return this;
    }
Add a single AppliedWeights entry

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