public abstract static class IPForwardingRule.Builder<T extends IPForwardingRule.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
CIDRs |
protected int |
endPort |
protected String |
id |
protected String |
IPAddress |
protected String |
IPAddressId |
protected int |
privateEndPort |
protected String |
protocol |
protected int |
publicEndPort |
protected int |
publicPort |
protected int |
startPort |
protected String |
state |
protected String |
virtualMachineDisplayName |
protected String |
virtualMachineId |
protected String |
virtualMachineName |
Constructor and Description |
---|
IPForwardingRule.Builder() |
Modifier and Type | Method and Description |
---|---|
IPForwardingRule |
build() |
T |
CIDRs(Set<String> CIDRs) |
T |
CIDRs(String... in) |
T |
endPort(int endPort) |
T |
fromIPForwardingRule(IPForwardingRule in) |
T |
id(String id) |
T |
IPAddress(String IPAddress) |
T |
IPAddressId(String IPAddressId) |
T |
privateEndPort(int privateEndPort) |
T |
protocol(String protocol) |
T |
publicEndPort(int publicEndPort) |
T |
publicPort(int publicPort) |
protected abstract T |
self() |
T |
startPort(int startPort) |
T |
state(String state) |
T |
virtualMachineDisplayName(String virtualMachineDisplayName) |
T |
virtualMachineId(String virtualMachineId) |
T |
virtualMachineName(String virtualMachineName) |
protected String id
protected String IPAddress
protected String IPAddressId
protected int startPort
protected String protocol
protected int endPort
protected String state
protected String virtualMachineDisplayName
protected String virtualMachineId
protected String virtualMachineName
protected int publicPort
protected int privateEndPort
protected int publicEndPort
protected abstract T self()
public T id(String id)
IPForwardingRule.getId()
public T IPAddress(String IPAddress)
IPForwardingRule.getIPAddress()
public T IPAddressId(String IPAddressId)
IPForwardingRule.getIPAddressId()
public T startPort(int startPort)
IPForwardingRule.getStartPort()
public T protocol(String protocol)
IPForwardingRule.getProtocol()
public T endPort(int endPort)
IPForwardingRule.getEndPort()
public T state(String state)
IPForwardingRule.getState()
public T publicPort(int publicPort)
IPForwardingRule.getPublicPort()
public T CIDRs(Set<String> CIDRs)
IPForwardingRule.getCIDRs()
public T privateEndPort(int privateEndPort)
IPForwardingRule.getPrivateEndPort()
public T publicEndPort(int publicEndPort)
IPForwardingRule.getPublicEndPort()
public IPForwardingRule build()
public T fromIPForwardingRule(IPForwardingRule in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.