public ColdStorageOptions withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
Enable cold storage option. Accepted values true or false
</p>

@param enabled
       Enable cold storage option. Accepted values true or false
@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/ColdStorageOptions.java