Package org.jclouds.cloudstack.domain
Class IPForwardingRule.Builder<T extends IPForwardingRule.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.IPForwardingRule.Builder<T>
-
- Enclosing class:
- IPForwardingRule
public abstract static class IPForwardingRule.Builder<T extends IPForwardingRule.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field 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 Set<Tag>
tags
protected String
virtualMachineDisplayName
protected String
virtualMachineId
protected String
virtualMachineName
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IPForwardingRule
build()
T
CIDRs(String... in)
T
CIDRs(Set<String> CIDRs)
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
tags(Set<Tag> tags)
T
tags(Tag... in)
T
virtualMachineDisplayName(String virtualMachineDisplayName)
T
virtualMachineId(String virtualMachineId)
T
virtualMachineName(String virtualMachineName)
-
-
-
Field Detail
-
id
protected String id
-
IPAddress
protected String IPAddress
-
IPAddressId
protected String IPAddressId
-
startPort
protected int startPort
-
protocol
protected String protocol
-
endPort
protected int endPort
-
state
protected String state
-
virtualMachineDisplayName
protected String virtualMachineDisplayName
-
virtualMachineId
protected String virtualMachineId
-
virtualMachineName
protected String virtualMachineName
-
publicPort
protected int publicPort
-
privateEndPort
protected int privateEndPort
-
publicEndPort
protected int publicEndPort
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
IPForwardingRule.getId()
-
IPAddress
public T IPAddress(String IPAddress)
- See Also:
IPForwardingRule.getIPAddress()
-
IPAddressId
public T IPAddressId(String IPAddressId)
- See Also:
IPForwardingRule.getIPAddressId()
-
startPort
public T startPort(int startPort)
- See Also:
IPForwardingRule.getStartPort()
-
protocol
public T protocol(String protocol)
- See Also:
IPForwardingRule.getProtocol()
-
endPort
public T endPort(int endPort)
- See Also:
IPForwardingRule.getEndPort()
-
state
public T state(String state)
- See Also:
IPForwardingRule.getState()
-
virtualMachineId
public T virtualMachineId(String virtualMachineId)
- See Also:
IPForwardingRule.getVirtualMachineId()
-
virtualMachineName
public T virtualMachineName(String virtualMachineName)
- See Also:
IPForwardingRule.getVirtualMachineName()
-
publicPort
public T publicPort(int publicPort)
- See Also:
IPForwardingRule.getPublicPort()
-
CIDRs
public T CIDRs(Set<String> CIDRs)
- See Also:
IPForwardingRule.getCIDRs()
-
privateEndPort
public T privateEndPort(int privateEndPort)
- See Also:
IPForwardingRule.getPrivateEndPort()
-
publicEndPort
public T publicEndPort(int publicEndPort)
- See Also:
IPForwardingRule.getPublicEndPort()
-
tags
public T tags(Set<Tag> tags)
- See Also:
IPForwardingRule.getTags()
-
build
public IPForwardingRule build()
-
fromIPForwardingRule
public T fromIPForwardingRule(IPForwardingRule in)
-
-