public class RouteFilterPrefix
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cidr
CIDR notation for the advertised route.
|
Constructor and Description |
---|
RouteFilterPrefix() |
Modifier and Type | Method and Description |
---|---|
RouteFilterPrefix |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCidr()
CIDR notation for the advertised route.
|
int |
hashCode() |
void |
setCidr(java.lang.String cidr)
CIDR notation for the advertised route.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RouteFilterPrefix |
withCidr(java.lang.String cidr)
CIDR notation for the advertised route.
|
private java.lang.String cidr
CIDR notation for the advertised route. Multiple routes are separated by commas.
Example: 10.10.10.0/24,10.10.11.0/24
public void setCidr(java.lang.String cidr)
CIDR notation for the advertised route. Multiple routes are separated by commas.
Example: 10.10.10.0/24,10.10.11.0/24
cidr
- CIDR notation for the advertised route. Multiple routes are
separated by commas.
Example: 10.10.10.0/24,10.10.11.0/24
public java.lang.String getCidr()
CIDR notation for the advertised route. Multiple routes are separated by commas.
Example: 10.10.10.0/24,10.10.11.0/24
Example: 10.10.10.0/24,10.10.11.0/24
public RouteFilterPrefix withCidr(java.lang.String cidr)
CIDR notation for the advertised route. Multiple routes are separated by commas.
Example: 10.10.10.0/24,10.10.11.0/24
cidr
- CIDR notation for the advertised route. Multiple routes are
separated by commas.
Example: 10.10.10.0/24,10.10.11.0/24
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RouteFilterPrefix clone()
clone
in class java.lang.Object