public void setStatus(OptionStatus status) {
        this.status = status;
    }
<p>
The status of the access policy for the Elasticsearch domain. See <code>OptionStatus</code> for the status
information that's included.
</p>

@param status
       The status of the access policy for the Elasticsearch domain. See <code>OptionStatus</code> for the status
       information that's included.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/AccessPoliciesStatus.java