public DomainStatus withNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions) {
        setNodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions);
        return this;
    }
<p>
Whether node-to-node encryption is enabled or disabled.
</p>

@param nodeToNodeEncryptionOptions
       Whether node-to-node encryption is enabled or disabled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DomainStatus.java