public ImportRestApiResult withRootResourceId(String rootResourceId) {
        setRootResourceId(rootResourceId);
        return this;
    }
<p>
The API's root resource ID.
</p>

@param rootResourceId
       The API's root resource ID.
@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/ImportRestApiResult.java