public CreateRestApiRequest withCloneFrom(String cloneFrom) {
        setCloneFrom(cloneFrom);
        return this;
    }
<p>
The ID of the RestApi that you want to clone from.
</p>

@param cloneFrom
       The ID of the RestApi that you want to clone from.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/CreateRestApiRequest.java