public GetApiRequest withApiId(String apiId) {
        setApiId(apiId);
        return this;
    }
<p>
The API identifier.
</p>

@param apiId
       The API identifier.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/GetApiRequest.java