> + */
> + public T state(State state) {
> + this.state = state;
> + return self();
> + }
> +
> + /**
> + * @see Router#getExternalGatewayInfo()
> + */
> + public T externalGatewayInfo(ExternalGatewayInfo externalGatewayInfo) {
> + this.externalGatewayInfo = externalGatewayInfo;
> + return self();
> + }
> +
> + public Router build() {
> + return new Router(id, tenantId, name, adminStateUp, state,
> externalGatewayInfo);
I'll add null checks to the obligated fields
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/47/files#r7887945