public EncryptionAtRestOptions withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
Specifies the option to enable Encryption At Rest.
</p>

@param enabled
       Specifies the option to enable Encryption At Rest.
@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/EncryptionAtRestOptions.java