Package org.jclouds.gogrid.domain
Class LoadBalancer.Builder<T extends LoadBalancer.Builder<T>>
- java.lang.Object
-
- org.jclouds.gogrid.domain.LoadBalancer.Builder<T>
-
- Enclosing class:
- LoadBalancer
public abstract static class LoadBalancer.Builder<T extends LoadBalancer.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Option
datacenter
protected String
description
protected long
id
protected String
name
protected LoadBalancerOs
os
protected LoadBalancerPersistenceType
persistence
protected Set<IpPortPair>
realIpList
protected LoadBalancerState
state
protected LoadBalancerType
type
protected IpPortPair
virtualIp
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description LoadBalancer
build()
T
datacenter(Option datacenter)
T
description(String description)
T
fromLoadBalancer(LoadBalancer in)
T
id(long id)
T
name(String name)
T
os(LoadBalancerOs os)
T
persistence(LoadBalancerPersistenceType persistence)
T
realIpList(Set<IpPortPair> realIpList)
T
realIpList(IpPortPair... in)
protected abstract T
self()
T
state(LoadBalancerState state)
T
type(LoadBalancerType type)
T
virtualIp(IpPortPair virtualIp)
-
-
-
Field Detail
-
id
protected long id
-
name
protected String name
-
description
protected String description
-
virtualIp
protected IpPortPair virtualIp
-
realIpList
protected Set<IpPortPair> realIpList
-
type
protected LoadBalancerType type
-
persistence
protected LoadBalancerPersistenceType persistence
-
os
protected LoadBalancerOs os
-
state
protected LoadBalancerState state
-
datacenter
protected Option datacenter
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(long id)
- See Also:
LoadBalancer.getId()
-
name
public T name(String name)
- See Also:
LoadBalancer.getName()
-
description
public T description(String description)
- See Also:
LoadBalancer.getDescription()
-
virtualIp
public T virtualIp(IpPortPair virtualIp)
- See Also:
LoadBalancer.getVirtualIp()
-
realIpList
public T realIpList(Set<IpPortPair> realIpList)
- See Also:
LoadBalancer.getRealIpList()
-
realIpList
public T realIpList(IpPortPair... in)
-
type
public T type(LoadBalancerType type)
- See Also:
LoadBalancer.getType()
-
persistence
public T persistence(LoadBalancerPersistenceType persistence)
- See Also:
LoadBalancer.getPersistence()
-
os
public T os(LoadBalancerOs os)
- See Also:
LoadBalancer.getOs()
-
state
public T state(LoadBalancerState state)
- See Also:
LoadBalancer.getState()
-
datacenter
public T datacenter(Option datacenter)
- See Also:
LoadBalancer.getDatacenter()
-
build
public LoadBalancer build()
-
fromLoadBalancer
public T fromLoadBalancer(LoadBalancer in)
-
-