@Generated(value="software.amazon.awssdk:codegen") public final class RouteTable extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteTable.Builder,RouteTable>
Describes a route table.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RouteTable.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<RouteTableAssociation> |
associations()
The associations between the route table and one or more subnets or a gateway.
|
static RouteTable.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssociations()
Returns true if the Associations property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasPropagatingVgws()
Returns true if the PropagatingVgws property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasRoutes()
Returns true if the Routes property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
ownerId()
The ID of the AWS account that owns the route table.
|
List<PropagatingVgw> |
propagatingVgws()
Any virtual private gateway (VGW) propagating routes.
|
List<Route> |
routes()
The routes in the route table.
|
String |
routeTableId()
The ID of the route table.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RouteTable.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Any tags assigned to the route table.
|
RouteTable.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasAssociations()
public List<RouteTableAssociation> associations()
The associations between the route table and one or more subnets or a gateway.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAssociations() to see if a value was sent in this field.
public boolean hasPropagatingVgws()
public List<PropagatingVgw> propagatingVgws()
Any virtual private gateway (VGW) propagating routes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPropagatingVgws() to see if a value was sent in this field.
public String routeTableId()
The ID of the route table.
public boolean hasRoutes()
public List<Route> routes()
The routes in the route table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRoutes() to see if a value was sent in this field.
public boolean hasTags()
public List<Tag> tags()
Any tags assigned to the route table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public String vpcId()
The ID of the VPC.
public String ownerId()
The ID of the AWS account that owns the route table.
public RouteTable.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RouteTable.Builder,RouteTable>public static RouteTable.Builder builder()
public static Class<? extends RouteTable.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.