public CreateDeploymentResult addApiSummaryEntry(String key, java.util.Map<String, MethodSnapshot> value) {
        if (null == this.apiSummary) {
            this.apiSummary = new java.util.HashMap<String, java.util.Map<String, MethodSnapshot>>();
        }
        if (this.apiSummary.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.apiSummary.put(key, value);
        return this;
    }
Add a single ApiSummary entry

@see CreateDeploymentResult#withApiSummary
@returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/CreateDeploymentResult.java