Package org.jclouds.cloudstack.domain
Class IPForwardingRule
java.lang.Object
org.jclouds.cloudstack.domain.IPForwardingRule
- All Implemented Interfaces:
 Comparable<IPForwardingRule>
Class IPForwardingRule
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIPForwardingRule.Builder<T extends IPForwardingRule.Builder<T>> - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIPForwardingRule(String id, String IPAddress, String IPAddressId, int startPort, String protocol, int endPort, String state, String virtualMachineDisplayName, String virtualMachineId, String virtualMachineName, int publicPort, Set<String> CIDRs, int privateEndPort, int publicEndPort, Set<Tag> tags)  - 
Method Summary
 
- 
Constructor Details
- 
IPForwardingRule
@ConstructorProperties({"id","ipaddress","ipaddressid","startport","protocol","endport","state","virtualmachinedisplayname","virtualmachineid","virtualmachinename","publicport","cidrlist","privateendport","publicendport","tags"}) protected IPForwardingRule(String id, String IPAddress, String IPAddressId, int startPort, @Nullable String protocol, int endPort, @Nullable String state, @Nullable String virtualMachineDisplayName, @Nullable String virtualMachineId, @Nullable String virtualMachineName, int publicPort, @Nullable Set<String> CIDRs, int privateEndPort, int publicEndPort, @Nullable Set<Tag> tags)  
 - 
 - 
Method Details
- 
builder
 - 
toBuilder
 - 
getId
- Returns:
 - the ID of the ip forwarding rule
 
 - 
getIPAddress
- Returns:
 - the public ip address for the ip forwarding rule
 
 - 
getIPAddressId
- Returns:
 - the public ip address id for the ip forwarding rule
 
 - 
getStartPort
public int getStartPort()- Returns:
 - the private port for the ip forwarding rule
 
 - 
getProtocol
- Returns:
 - the protocol of the ip forwarding rule
 
 - 
getEndPort
public int getEndPort()- Returns:
 - the public port for the ip forwarding rule
 
 - 
getState
- Returns:
 - the state of the rule
 
 - 
getVirtualMachineDisplayName
- Returns:
 - the VM display name for the ip forwarding rule
 
 - 
getVirtualMachineId
- Returns:
 - the VM ID for the ip forwarding rule
 
 - 
getVirtualMachineName
- Returns:
 - the VM name for the ip forwarding rule
 
 - 
getPublicPort
public int getPublicPort()- Returns:
 - the starting port of port forwarding rule's public port range
 
 - 
getCIDRs
- Returns:
 - the cidr list to forward traffic from
 
 - 
getPrivateEndPort
public int getPrivateEndPort()- Returns:
 - the ending port of port forwarding rule's private port range
 
 - 
getPublicEndPort
public int getPublicEndPort()- Returns:
 - the ending port of port forwarding rule's private port range
 
 - 
getTags
- Returns:
 - Tags on this rule
 
 - 
hashCode
public int hashCode() - 
equals
 - 
string
protected com.google.common.base.MoreObjects.ToStringHelper string() - 
toString
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<IPForwardingRule>
 
 -