public class IPForwardingRule extends Object implements Comparable<IPForwardingRule>
Modifier and Type | Class and Description |
---|---|
static class |
IPForwardingRule.Builder<T extends IPForwardingRule.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
IPForwardingRule(String id,
String IPAddress,
String IPAddressId,
int startPort,
String protocol,
int endPort,
String state,
String virtualMachineDisplayName,
String virtualMachineId,
String virtualMachineName,
int publicPort,
Set<String> CIDRs,
int privateEndPort,
int publicEndPort,
Set<Tag> tags) |
Modifier and Type | Method and Description |
---|---|
static IPForwardingRule.Builder<?> |
builder() |
int |
compareTo(IPForwardingRule o) |
boolean |
equals(Object obj) |
Set<String> |
getCIDRs() |
int |
getEndPort() |
String |
getId() |
String |
getIPAddress() |
String |
getIPAddressId() |
int |
getPrivateEndPort() |
String |
getProtocol() |
int |
getPublicEndPort() |
int |
getPublicPort() |
int |
getStartPort() |
String |
getState() |
Set<Tag> |
getTags() |
String |
getVirtualMachineDisplayName() |
String |
getVirtualMachineId() |
String |
getVirtualMachineName() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
IPForwardingRule.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","ipaddress","ipaddressid","startport","protocol","endport","state","virtualmachinedisplayname","virtualmachineid","virtualmachinename","publicport","cidrlist","privateendport","publicendport","tags"}) protected IPForwardingRule(String id, String IPAddress, String IPAddressId, int startPort, @Nullable String protocol, int endPort, @Nullable String state, @Nullable String virtualMachineDisplayName, @Nullable String virtualMachineId, @Nullable String virtualMachineName, int publicPort, @Nullable Set<String> CIDRs, int privateEndPort, int publicEndPort, @Nullable Set<Tag> tags)
public static IPForwardingRule.Builder<?> builder()
public IPForwardingRule.Builder<?> toBuilder()
public String getId()
@Nullable public String getIPAddress()
@Nullable public String getIPAddressId()
public int getStartPort()
public int getEndPort()
@Nullable public String getVirtualMachineDisplayName()
@Nullable public String getVirtualMachineId()
@Nullable public String getVirtualMachineName()
public int getPublicPort()
public int getPrivateEndPort()
public int getPublicEndPort()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(IPForwardingRule o)
compareTo
in interface Comparable<IPForwardingRule>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.