public abstract static class FirewallRule.Builder<T extends FirewallRule.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
CIDRs |
protected int |
endPort |
protected String |
icmpCode |
protected String |
icmpType |
protected String |
id |
protected String |
ipAddress |
protected String |
ipAddressId |
protected FirewallRule.Protocol |
protocol |
protected int |
startPort |
protected FirewallRule.State |
state |
Constructor and Description |
---|
FirewallRule.Builder() |
Modifier and Type | Method and Description |
---|---|
FirewallRule |
build() |
T |
CIDRs(Set<String> CIDRs) |
T |
CIDRs(String... in) |
T |
endPort(int endPort) |
T |
fromFirewallRule(FirewallRule in) |
T |
icmpCode(String icmpCode) |
T |
icmpType(String icmpType) |
T |
id(String id) |
T |
ipAddress(String ipAddress) |
T |
ipAddressId(String ipAddressId) |
T |
protocol(FirewallRule.Protocol protocol) |
protected abstract T |
self() |
T |
startPort(int startPort) |
T |
state(FirewallRule.State state) |
protected String id
protected int startPort
protected int endPort
protected String icmpCode
protected String icmpType
protected String ipAddress
protected String ipAddressId
protected FirewallRule.Protocol protocol
protected FirewallRule.State state
protected abstract T self()
public T id(String id)
FirewallRule.getId()
public T CIDRs(Set<String> CIDRs)
FirewallRule.getCIDRs()
public T startPort(int startPort)
FirewallRule.getStartPort()
public T endPort(int endPort)
FirewallRule.getEndPort()
public T icmpCode(String icmpCode)
FirewallRule.getIcmpCode()
public T icmpType(String icmpType)
FirewallRule.getIcmpType()
public T ipAddress(String ipAddress)
FirewallRule.getIpAddress()
public T ipAddressId(String ipAddressId)
FirewallRule.getIpAddressId()
public T protocol(FirewallRule.Protocol protocol)
FirewallRule.getProtocol()
public T state(FirewallRule.State state)
FirewallRule.getState()
public FirewallRule build()
public T fromFirewallRule(FirewallRule in)
Copyright © 2009-2013 jclouds. All Rights Reserved.