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 Optiondatacenterprotected Stringdescriptionprotected longidprotected Stringnameprotected LoadBalancerOsosprotected LoadBalancerPersistenceTypepersistenceprotected Set<IpPortPair>realIpListprotected LoadBalancerStatestateprotected LoadBalancerTypetypeprotected IpPortPairvirtualIp
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description LoadBalancerbuild()Tdatacenter(Option datacenter)Tdescription(String description)TfromLoadBalancer(LoadBalancer in)Tid(long id)Tname(String name)Tos(LoadBalancerOs os)Tpersistence(LoadBalancerPersistenceType persistence)TrealIpList(Set<IpPortPair> realIpList)TrealIpList(IpPortPair... in)protected abstract Tself()Tstate(LoadBalancerState state)Ttype(LoadBalancerType type)TvirtualIp(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)
-
-