public class PortForwardingRule extends Object implements Comparable<PortForwardingRule>
Modifier and Type | Class and Description |
---|---|
static class |
PortForwardingRule.Builder<T extends PortForwardingRule.Builder<T>> |
static class |
PortForwardingRule.Protocol |
static class |
PortForwardingRule.State |
Modifier | Constructor and Description |
---|---|
protected |
PortForwardingRule(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) |
Modifier and Type | Method and Description |
---|---|
static PortForwardingRule.Builder<?> |
builder() |
int |
compareTo(PortForwardingRule o) |
boolean |
equals(Object obj) |
Set<String> |
getCIDRs() |
String |
getId() |
String |
getIPAddress() |
String |
getIPAddressId() |
int |
getPrivateEndPort() |
int |
getPrivatePort() |
PortForwardingRule.Protocol |
getProtocol() |
int |
getPublicEndPort() |
int |
getPublicPort() |
PortForwardingRule.State |
getState() |
String |
getVirtualMachineDisplayName() |
String |
getVirtualMachineId() |
String |
getVirtualMachineName() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
PortForwardingRule.Builder<?> |
toBuilder() |
String |
toString() |
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)
public static PortForwardingRule.Builder<?> builder()
public PortForwardingRule.Builder<?> toBuilder()
public String getId()
@Nullable public String getIPAddress()
@Nullable public String getIPAddressId()
public int getPrivatePort()
@Nullable public PortForwardingRule.Protocol getProtocol()
public int getPublicPort()
@Nullable public PortForwardingRule.State getState()
@Nullable public String getVirtualMachineDisplayName()
@Nullable public String getVirtualMachineId()
@Nullable public String getVirtualMachineName()
public int getPrivateEndPort()
public int getPublicEndPort()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(PortForwardingRule o)
compareTo
in interface Comparable<PortForwardingRule>
Copyright © 2009-2013 jclouds. All Rights Reserved.