public abstract static class Server.Builder<T extends Server.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
datacenter |
protected String |
hostname |
protected String |
id |
protected String |
platform |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Server |
build() |
T |
datacenter(String datacenter) |
T |
fromServer(Server in) |
T |
hostname(String hostname) |
T |
id(String id) |
T |
platform(String platform) |
protected abstract T |
self() |
protected String id
protected String hostname
protected String datacenter
protected String platform
protected abstract T self()
public T id(String id)
Server.getId()
public T hostname(String hostname)
Server.getHostname()
public T datacenter(String datacenter)
Server.getDatacenter()
public T platform(String platform)
Server.getPlatform()
public Server build()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.