public class RouteFilterPrefix
extends java.lang.Object
implements java.io.Serializable
A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.
| コンストラクタと説明 |
|---|
RouteFilterPrefix() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
public java.lang.String getCidr()
Example: 10.10.10.0/24,10.10.11.0/24
Example: 10.10.10.0/24,10.10.11.0/24
public void setCidr(java.lang.String cidr)
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 RouteFilterPrefix withCidr(java.lang.String cidr)
Example: 10.10.10.0/24,10.10.11.0/24
Returns a reference to this object so that method calls can be chained together.
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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object