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

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