public NodeToNodeEncryptionOptionsStatus withStatus(OptionStatus status) {
        setStatus(status);
        return this;
    }
<p>
Specifies the status of the node-to-node encryption options for the specified Elasticsearch domain.
</p>

@param status
       Specifies the status of the node-to-node encryption options for the specified Elasticsearch domain.
@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/NodeToNodeEncryptionOptionsStatus.java