Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaccountprotected StringCIDRprotected intendPortprotected intICMPCodeprotected intICMPTypeprotected Stringidprotected Stringprotocolprotected StringsecurityGroupNameprotected intstartPortprotected Set<Tag>tags
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Taccount(String account)IngressRulebuild()TCIDR(String CIDR)TendPort(int endPort)TfromIngressRule(IngressRule in)TICMPCode(int ICMPCode)TICMPType(int ICMPType)Tid(String id)Tprotocol(String protocol)TsecurityGroupName(String securityGroupName)protected abstract Tself()TstartPort(int startPort)Ttags(Set<Tag> tags)Ttags(Tag... in)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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()
-
tags
public T tags(Set<Tag> tags)
- See Also:
IngressRule.getTags()
-
build
public IngressRule build()
-
fromIngressRule
public T fromIngressRule(IngressRule in)
-
-