org.jclouds.cloudstack.domain
Class IngressRule.Builder<T extends IngressRule.Builder<T>>
java.lang.Object
org.jclouds.cloudstack.domain.IngressRule.Builder<T>
- Enclosing class:
- IngressRule
public abstract static class IngressRule.Builder<T extends IngressRule.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
account
protected String account
CIDR
protected String CIDR
endPort
protected int endPort
ICMPCode
protected int ICMPCode
ICMPType
protected int ICMPType
protocol
protected String protocol
id
protected String id
securityGroupName
protected String securityGroupName
startPort
protected int startPort
IngressRule.Builder
public IngressRule.Builder()
self
protected abstract T self()
account
public T account(String account)
- See Also:
IngressRule.getAccount()
CIDR
public T CIDR(String CIDR)
- See Also:
IngressRule.getCIDR()
endPort
public T endPort(int endPort)
- See Also:
IngressRule.getEndPort()
ICMPCode
public T ICMPCode(int ICMPCode)
- See Also:
IngressRule.getICMPCode()
ICMPType
public T ICMPType(int ICMPType)
- See Also:
IngressRule.getICMPType()
protocol
public T protocol(String protocol)
- See Also:
IngressRule.getProtocol()
id
public T id(String id)
- See Also:
IngressRule.getId()
securityGroupName
public T securityGroupName(String securityGroupName)
- See Also:
IngressRule.getSecurityGroupName()
startPort
public T startPort(int startPort)
- See Also:
IngressRule.getStartPort()
build
public IngressRule build()
fromIngressRule
public T fromIngressRule(IngressRule in)
Copyright © 2009-2013 jclouds. All Rights Reserved.