public ElasticsearchDomainStatus withNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions) {
        setNodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions);
        return this;
    }
<p>
Specifies the status of the <code>NodeToNodeEncryptionOptions</code>.
</p>

@param nodeToNodeEncryptionOptions
       Specifies the status of the <code>NodeToNodeEncryptionOptions</code>.
@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