public abstract static class PortForwardingRule.Builder<T extends PortForwardingRule.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
CIDRs |
protected String |
id |
protected String |
IPAddress |
protected String |
IPAddressId |
protected int |
privateEndPort |
protected int |
privatePort |
protected PortForwardingRule.Protocol |
protocol |
protected int |
publicEndPort |
protected int |
publicPort |
protected PortForwardingRule.State |
state |
protected String |
virtualMachineDisplayName |
protected String |
virtualMachineId |
protected String |
virtualMachineName |
Constructor and Description |
---|
PortForwardingRule.Builder() |
Modifier and Type | Method and Description |
---|---|
PortForwardingRule |
build() |
T |
CIDRs(Set<String> CIDRs) |
T |
CIDRs(String... in) |
T |
fromPortForwardingRule(PortForwardingRule in) |
T |
id(String id) |
T |
IPAddress(String IPAddress) |
T |
IPAddressId(String IPAddressId) |
T |
privateEndPort(int privateEndPort) |
T |
privatePort(int privatePort) |
T |
protocol(PortForwardingRule.Protocol protocol) |
T |
publicEndPort(int publicEndPort) |
T |
publicPort(int publicPort) |
protected abstract T |
self() |
T |
state(PortForwardingRule.State state) |
T |
virtualMachineDisplayName(String virtualMachineDisplayName) |
T |
virtualMachineId(String virtualMachineId) |
T |
virtualMachineName(String virtualMachineName) |
protected String id
protected String IPAddress
protected String IPAddressId
protected int privatePort
protected PortForwardingRule.Protocol protocol
protected int publicPort
protected PortForwardingRule.State state
protected String virtualMachineDisplayName
protected String virtualMachineId
protected String virtualMachineName
protected int privateEndPort
protected int publicEndPort
protected abstract T self()
public T id(String id)
PortForwardingRule.getId()
public T IPAddress(String IPAddress)
PortForwardingRule.getIPAddress()
public T IPAddressId(String IPAddressId)
PortForwardingRule.getIPAddressId()
public T privatePort(int privatePort)
PortForwardingRule.getPrivatePort()
public T protocol(PortForwardingRule.Protocol protocol)
PortForwardingRule.getProtocol()
public T publicPort(int publicPort)
PortForwardingRule.getPublicPort()
public T state(PortForwardingRule.State state)
PortForwardingRule.getState()
public T CIDRs(Set<String> CIDRs)
PortForwardingRule.getCIDRs()
public T privateEndPort(int privateEndPort)
public T publicEndPort(int publicEndPort)
public PortForwardingRule build()
public T fromPortForwardingRule(PortForwardingRule in)
Copyright © 2009-2013 jclouds. All Rights Reserved.