public CreateModelRequest withRestApiId(String restApiId) {
        setRestApiId(restApiId);
        return this;
    }
<p>
The RestApi identifier under which the Model will be created.
</p>

@param restApiId
       The RestApi identifier under which the Model will be created.
@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/CreateModelRequest.java