public ProductionVariantSummary withCurrentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig) {
        setCurrentServerlessConfig(currentServerlessConfig);
        return this;
    }
<p>
The serverless configuration for the endpoint.
</p>

@param currentServerlessConfig
       The serverless configuration for the endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ProductionVariantSummary.java