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 obj) |
String |
getExternalIP()
IP address to which this NAT rule maps the IP address specified in the InternalIp 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 NatRule
public Integer getExternalPort()
@Nullable public String getVAppScopedLocalId()
public int getVmNicId()
public Integer getInternalPort()
public NatProtocol getProtocol()
Copyright © 2009-2012 jclouds. All Rights Reserved.