public abstract static class LoadBalancerRule.Builder<T extends LoadBalancerRule.Builder<T>> extends Object
Modifier and Type | Field and 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 and Description |
---|
LoadBalancerRule.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
account(String account) |
T |
algorithm(LoadBalancerRule.Algorithm algorithm) |
LoadBalancerRule |
build() |
T |
CIDRs(Set<String> CIDRs) |
T |
CIDRs(String... in) |
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) |
protected String id
protected String account
protected LoadBalancerRule.Algorithm algorithm
protected String description
protected String domain
protected String domainId
protected String name
protected int privatePort
protected String publicIP
protected String publicIPId
protected int publicPort
protected LoadBalancerRule.State state
protected String zoneId
protected abstract T self()
public T id(String id)
LoadBalancerRule.getId()
public T account(String account)
LoadBalancerRule.getAccount()
public T algorithm(LoadBalancerRule.Algorithm algorithm)
LoadBalancerRule.getAlgorithm()
public T description(String description)
LoadBalancerRule.getDescription()
public T domain(String domain)
LoadBalancerRule.getDomain()
public T domainId(String domainId)
LoadBalancerRule.getDomainId()
public T name(String name)
LoadBalancerRule.getName()
public T privatePort(int privatePort)
LoadBalancerRule.getPrivatePort()
public T publicIP(String publicIP)
LoadBalancerRule.getPublicIP()
public T publicIPId(String publicIPId)
LoadBalancerRule.getPublicIPId()
public T publicPort(int publicPort)
LoadBalancerRule.getPublicPort()
public T state(LoadBalancerRule.State state)
LoadBalancerRule.getState()
public T CIDRs(Set<String> CIDRs)
LoadBalancerRule.getCIDRs()
public T zoneId(String zoneId)
LoadBalancerRule.getZoneId()
public LoadBalancerRule build()
public T fromLoadBalancerRule(LoadBalancerRule in)
Copyright © 2009-2013 jclouds. All Rights Reserved.