public class VmRule extends Object implements NatRule
| Constructor and Description | 
|---|
VmRule(String externalIP,
      int externalPort,
      String vAppScopedLocalId,
      int vmNicId,
      int internalPort,
      NatProtocol protocol)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
String | 
getExternalIP()
IP address to which this NAT rule maps the IP address specified in the vAppScopedLocalId element. 
 | 
Integer | 
getExternalPort()
network port to which this NAT rule maps the port number specified in the InternalPort element 
 | 
Integer | 
getInternalPort()
network port to which this NAT rule maps the port number specified in the ExternalPort
 element. 
 | 
NatProtocol | 
getProtocol()
specifies the network protocol to which this rule applies 
 | 
String | 
getVAppScopedLocalId()  | 
int | 
getVmNicId()  | 
int | 
hashCode()  | 
String | 
toString()  | 
public VmRule(@Nullable String externalIP, int externalPort, @Nullable String vAppScopedLocalId, int vmNicId, int internalPort, NatProtocol protocol)
@Nullable public String getExternalIP()
getExternalIP in interface NatRulepublic Integer getExternalPort()
@Nullable public String getVAppScopedLocalId()
public int getVmNicId()
public Integer getInternalPort()
public NatProtocol getProtocol()
Copyright © 2009-2013 jclouds. All Rights Reserved.