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

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