@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteFilterPrefix extends Object implements Serializable, Cloneable, StructuredPojo
Information about a route filter prefix that a 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()
The CIDR block for the advertised route.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCidr(String cidr)
The CIDR block for the advertised route.
|
String |
toString()
Returns a string representation of this object.
|
RouteFilterPrefix |
withCidr(String cidr)
The CIDR block for the advertised route.
|
public void setCidr(String cidr)
The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64 or shorter.
cidr
- The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64
or shorter.public String getCidr()
The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64 or shorter.
public RouteFilterPrefix withCidr(String cidr)
The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64 or shorter.
cidr
- The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64
or shorter.public String toString()
toString
in class Object
Object.toString()
public RouteFilterPrefix clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.