public ColdStorageOptions withEnabled(Boolean enabled) {
        setEnabled(enabled);
        return this;
    }
<p>
Whether to enable or disable cold storage on the domain. You must enable UltraWarm storage to enable cold
storage.
</p>

@param enabled
       Whether to enable or disable cold storage on the domain. You must enable UltraWarm storage to enable cold
       storage.
@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/ColdStorageOptions.java