@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteFilterPrefix extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
IPv6 CIDRs must be at least a /64 or shorter
Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
cidr
- CIDR notation for the advertised route. Multiple routes are separated by commas.
IPv6 CIDRs must be at least a /64 or shorter
Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
public String getCidr()
CIDR notation for the advertised route. Multiple routes are separated by commas.
IPv6 CIDRs must be at least a /64 or shorter
Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
IPv6 CIDRs must be at least a /64 or shorter
Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
public RouteFilterPrefix withCidr(String cidr)
CIDR notation for the advertised route. Multiple routes are separated by commas.
IPv6 CIDRs must be at least a /64 or shorter
Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
cidr
- CIDR notation for the advertised route. Multiple routes are separated by commas.
IPv6 CIDRs must be at least a /64 or shorter
Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.