/** * The <a>RestApi</a> identifier for the <a>Method</a> resource. * * @param restApiId The <a>RestApi</a> identifier for the <a>Method</a> resource. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteMethodRequest withRestApiId(String restApiId) { setRestApiId(restApiId); return this; }