public abstract static class IngressRule.Builder<T extends IngressRule.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
account |
protected String |
CIDR |
protected int |
endPort |
protected int |
ICMPCode |
protected int |
ICMPType |
protected String |
id |
protected String |
protocol |
protected String |
securityGroupName |
protected int |
startPort |
Constructor and Description |
---|
IngressRule.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
account(String account) |
IngressRule |
build() |
T |
CIDR(String CIDR) |
T |
endPort(int endPort) |
T |
fromIngressRule(IngressRule in) |
T |
ICMPCode(int ICMPCode) |
T |
ICMPType(int ICMPType) |
T |
id(String id) |
T |
protocol(String protocol) |
T |
securityGroupName(String securityGroupName) |
protected abstract T |
self() |
T |
startPort(int startPort) |
protected String account
protected String CIDR
protected int endPort
protected int ICMPCode
protected int ICMPType
protected String protocol
protected String id
protected String securityGroupName
protected int startPort
protected abstract T self()
public T account(String account)
IngressRule.getAccount()
public T CIDR(String CIDR)
IngressRule.getCIDR()
public T endPort(int endPort)
IngressRule.getEndPort()
public T ICMPCode(int ICMPCode)
IngressRule.getICMPCode()
public T ICMPType(int ICMPType)
IngressRule.getICMPType()
public T protocol(String protocol)
IngressRule.getProtocol()
public T id(String id)
IngressRule.getId()
public T securityGroupName(String securityGroupName)
IngressRule.getSecurityGroupName()
public T startPort(int startPort)
IngressRule.getStartPort()
public IngressRule build()
public T fromIngressRule(IngressRule in)
Copyright © 2009-2013 jclouds. All Rights Reserved.