public class RouteFilterPrefix extends Object implements Serializable, Cloneable
A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.
Constructor and Description |
---|
RouteFilterPrefix() |
Modifier and Type | Method and Description |
---|---|
RouteFilterPrefix |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
CIDR notation for the advertised route.
|
int |
hashCode() |
void |
setCidr(String cidr)
CIDR notation for the advertised route.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RouteFilterPrefix |
withCidr(String cidr)
CIDR notation for the advertised route.
|
public void setCidr(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 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(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 String toString()
toString
in class Object
Object.toString()
public RouteFilterPrefix clone()
Copyright © 2018. All rights reserved.