Package org.jclouds.cloudstack.domain
Class LoadBalancerRule.Builder<T extends LoadBalancerRule.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.LoadBalancerRule.Builder<T>
-
- Enclosing class:
- LoadBalancerRule
public abstract static class LoadBalancerRule.Builder<T extends LoadBalancerRule.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
account
protected LoadBalancerRule.Algorithm
algorithm
protected Set<String>
CIDRs
protected String
description
protected String
domain
protected String
domainId
protected String
id
protected String
name
protected int
privatePort
protected String
publicIP
protected String
publicIPId
protected int
publicPort
protected LoadBalancerRule.State
state
protected String
zoneId
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
account(String account)
T
algorithm(LoadBalancerRule.Algorithm algorithm)
LoadBalancerRule
build()
T
CIDRs(String... in)
T
CIDRs(Set<String> CIDRs)
T
description(String description)
T
domain(String domain)
T
domainId(String domainId)
T
fromLoadBalancerRule(LoadBalancerRule in)
T
id(String id)
T
name(String name)
T
privatePort(int privatePort)
T
publicIP(String publicIP)
T
publicIPId(String publicIPId)
T
publicPort(int publicPort)
protected abstract T
self()
T
state(LoadBalancerRule.State state)
T
zoneId(String zoneId)
-
-
-
Field Detail
-
id
protected String id
-
account
protected String account
-
algorithm
protected LoadBalancerRule.Algorithm algorithm
-
description
protected String description
-
domain
protected String domain
-
domainId
protected String domainId
-
name
protected String name
-
privatePort
protected int privatePort
-
publicIP
protected String publicIP
-
publicIPId
protected String publicIPId
-
publicPort
protected int publicPort
-
state
protected LoadBalancerRule.State state
-
zoneId
protected String zoneId
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
LoadBalancerRule.getId()
-
account
public T account(String account)
- See Also:
LoadBalancerRule.getAccount()
-
algorithm
public T algorithm(LoadBalancerRule.Algorithm algorithm)
- See Also:
LoadBalancerRule.getAlgorithm()
-
description
public T description(String description)
- See Also:
LoadBalancerRule.getDescription()
-
domain
public T domain(String domain)
- See Also:
LoadBalancerRule.getDomain()
-
domainId
public T domainId(String domainId)
- See Also:
LoadBalancerRule.getDomainId()
-
name
public T name(String name)
- See Also:
LoadBalancerRule.getName()
-
privatePort
public T privatePort(int privatePort)
- See Also:
LoadBalancerRule.getPrivatePort()
-
publicIP
public T publicIP(String publicIP)
- See Also:
LoadBalancerRule.getPublicIP()
-
publicIPId
public T publicIPId(String publicIPId)
- See Also:
LoadBalancerRule.getPublicIPId()
-
publicPort
public T publicPort(int publicPort)
- See Also:
LoadBalancerRule.getPublicPort()
-
state
public T state(LoadBalancerRule.State state)
- See Also:
LoadBalancerRule.getState()
-
CIDRs
public T CIDRs(Set<String> CIDRs)
- See Also:
LoadBalancerRule.getCIDRs()
-
zoneId
public T zoneId(String zoneId)
- See Also:
LoadBalancerRule.getZoneId()
-
build
public LoadBalancerRule build()
-
fromLoadBalancerRule
public T fromLoadBalancerRule(LoadBalancerRule in)
-
-