br.com.objectos.rio.dhcp.ServerConfiguredAdapterBuilderPojo Maven / Gradle / Ivy
package br.com.objectos.rio.dhcp;
import br.com.objectos.rio.net.IpAddress;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.way.pojo.PojoCompiler",
"br.com.objectos.way.pojo.StandardBuilderPropertyAction"
})
final class ServerConfiguredAdapterBuilderPojo implements ServerConfiguredAdapterBuilder, ServerConfiguredAdapterBuilder.ServerConfiguredAdapterBuilderHost, ServerConfiguredAdapterBuilder.ServerConfiguredAdapterBuilderServerId {
private Host host;
private IpAddress serverId;
public ServerConfiguredAdapterBuilderPojo() {
}
@Override
public ServerConfiguredAdapter build() {
return new ServerConfiguredAdapterPojo(this);
}
@Override
public ServerConfiguredAdapterBuilder.ServerConfiguredAdapterBuilderHost host(Host host) {
if (host == null) {
throw new NullPointerException();
}
this.host = host;
return this;
}
Host ___get___host() {
return host;
}
@Override
public ServerConfiguredAdapterBuilder.ServerConfiguredAdapterBuilderServerId serverId(IpAddress serverId) {
if (serverId == null) {
throw new NullPointerException();
}
this.serverId = serverId;
return this;
}
IpAddress ___get___serverId() {
return serverId;
}
}