Package org.jclouds.cloudstack.domain
Class PortForwardingRule
java.lang.Object
org.jclouds.cloudstack.domain.PortForwardingRule
- All Implemented Interfaces:
 Comparable<PortForwardingRule>
Class PortForwardingRule
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enum - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPortForwardingRule(String id, String IPAddress, String IPAddressId, int privatePort, PortForwardingRule.Protocol protocol, int publicPort, PortForwardingRule.State state, String virtualMachineDisplayName, String virtualMachineId, String virtualMachineName, Set<String> CIDRs, int privateEndPort, int publicEndPort, Set<Tag> tags)  - 
Method Summary
 
- 
Constructor Details
- 
PortForwardingRule
protected PortForwardingRule(String id, @Nullable String IPAddress, @Nullable String IPAddressId, int privatePort, @Nullable PortForwardingRule.Protocol protocol, int publicPort, @Nullable PortForwardingRule.State state, @Nullable String virtualMachineDisplayName, @Nullable String virtualMachineId, @Nullable String virtualMachineName, @Nullable Set<String> CIDRs, int privateEndPort, int publicEndPort, @Nullable Set<Tag> tags)  
 - 
 - 
Method Details
- 
builder
 - 
toBuilder
 - 
getId
- Returns:
 - the ID of the port forwarding rule
 
 - 
getIPAddress
- Returns:
 - the public ip address for the port forwarding rule
 
 - 
getIPAddressId
- Returns:
 - the public ip address id for the port forwarding rule
 
 - 
getPrivatePort
public int getPrivatePort()- Returns:
 - the private port for the port forwarding rule
 
 - 
getProtocol
- Returns:
 - the protocol of the port forwarding rule
 
 - 
getPublicPort
public int getPublicPort()- Returns:
 - the public port for the port forwarding rule
 
 - 
getState
- Returns:
 - the state of the rule
 
 - 
getVirtualMachineDisplayName
- Returns:
 - the VM display name for the port forwarding rule
 
 - 
getVirtualMachineId
- Returns:
 - the VM ID for the port forwarding rule
 
 - 
getVirtualMachineName
- Returns:
 - the VM name for the port forwarding rule
 
 - 
getCIDRs
- Returns:
 - the cidr list to forward traffic from
 
 - 
getPrivateEndPort
public int getPrivateEndPort()- Returns:
 - the starting port of port forwarding rule's private port range
 
 - 
getPublicEndPort
public int getPublicEndPort()- Returns:
 - the starting port of port forwarding rule's public port range
 
 - 
getTags
- Returns:
 - the tags for the rule
 
 - 
hashCode
public int hashCode() - 
equals
 - 
string
protected com.google.common.base.MoreObjects.ToStringHelper string() - 
toString
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<PortForwardingRule>
 
 -