public class PortForwardingRule extends Object implements Comparable<PortForwardingRule>
Modifier and Type | Class and Description |
---|---|
static class |
PortForwardingRule.Builder |
static class |
PortForwardingRule.Protocol |
static class |
PortForwardingRule.State |
Modifier and Type | Field and Description |
---|---|
int |
publicPort |
long |
virtualMachineId |
Constructor and Description |
---|
PortForwardingRule(long id,
String iPAddress,
long iPAddressId,
int privatePort,
PortForwardingRule.Protocol protocol,
int publicPort,
PortForwardingRule.State state,
String virtualMachineDisplayName,
long virtualMachineId,
String virtualMachineName,
Set<String> CIDRs,
int privateEndPort,
int publicEndPort) |
Modifier and Type | Method and Description |
---|---|
static PortForwardingRule.Builder |
builder() |
int |
compareTo(PortForwardingRule arg0) |
boolean |
equals(Object obj) |
Set<String> |
getCIDRs() |
long |
getId() |
String |
getIPAddress() |
long |
getIPAddressId() |
int |
getPrivateEndPort() |
int |
getPrivatePort() |
PortForwardingRule.Protocol |
getProtocol() |
int |
getPublicEndPort() |
int |
getPublicPort() |
PortForwardingRule.State |
getState() |
String |
getVirtualMachineDisplayName() |
long |
getVirtualMachineId() |
String |
getVirtualMachineName() |
int |
hashCode() |
String |
toString() |
public PortForwardingRule(long id, String iPAddress, long iPAddressId, int privatePort, PortForwardingRule.Protocol protocol, int publicPort, PortForwardingRule.State state, String virtualMachineDisplayName, long virtualMachineId, String virtualMachineName, Set<String> CIDRs, int privateEndPort, int publicEndPort)
public static PortForwardingRule.Builder builder()
public int compareTo(PortForwardingRule arg0)
compareTo
in interface Comparable<PortForwardingRule>
public long getId()
public String getIPAddress()
public long getIPAddressId()
public int getPrivatePort()
public PortForwardingRule.Protocol getProtocol()
public int getPublicPort()
public PortForwardingRule.State getState()
public String getVirtualMachineDisplayName()
public long getVirtualMachineId()
public String getVirtualMachineName()
public int getPrivateEndPort()
public int getPublicEndPort()
Copyright © 2009-2012 jclouds. All Rights Reserved.