public ServerlessCacheConfiguration withEngine(String engine) {
        setEngine(engine);
        return this;
    }
<p>
The engine that the serverless cache is configured with.
</p>

@param engine
       The engine that the serverless cache is configured with.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/ServerlessCacheConfiguration.java