> + */ > + 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);
Null checks for any of the fields, here on in the constructor? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/47/files#r7546853