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

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