@Generated(value="software.amazon.awssdk:codegen") public class RouteFilterPrefix extends Object implements StructuredPojo, ToCopyableBuilder<RouteFilterPrefix.Builder,RouteFilterPrefix>
A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.
Modifier and Type | Class and Description |
---|---|
static interface |
RouteFilterPrefix.Builder |
Modifier and Type | Method and Description |
---|---|
static RouteFilterPrefix.Builder |
builder() |
String |
cidr()
CIDR notation for the advertised route.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends RouteFilterPrefix.Builder> |
serializableBuilderClass() |
RouteFilterPrefix.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RouteFilterPrefix.Builder,RouteFilterPrefix>
public static RouteFilterPrefix.Builder builder()
public static Class<? extends RouteFilterPrefix.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.