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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
LoadBalancer.Builder
public LoadBalancer.Builder()
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)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.