public ElasticsearchDomainStatus withAdvancedSecurityOptions(AdvancedSecurityOptions advancedSecurityOptions) {
        setAdvancedSecurityOptions(advancedSecurityOptions);
        return this;
    }
<p>
The current status of the Elasticsearch domain's advanced security options.
</p>

@param advancedSecurityOptions
       The current status of the Elasticsearch domain's advanced security options.
@return 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/ElasticsearchDomainStatus.java