Class RouteTableAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.RouteTableAssociation
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RouteTableAssociation.Builder,RouteTableAssociation>
@Generated("software.amazon.awssdk:codegen") public final class RouteTableAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteTableAssociation.Builder,RouteTableAssociation>
Describes an association between a route table and a subnet or gateway.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RouteTableAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteTableAssociationState
associationState()
The state of the association.static RouteTableAssociation.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
gatewayId()
The ID of the internet gateway or virtual private gateway.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
main()
Indicates whether this is the main route table.String
routeTableAssociationId()
The ID of the association.String
routeTableId()
The ID of the route table.List<SdkField<?>>
sdkFields()
static Class<? extends RouteTableAssociation.Builder>
serializableBuilderClass()
String
subnetId()
The ID of the subnet.RouteTableAssociation.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
main
public final Boolean main()
Indicates whether this is the main route table.
- Returns:
- Indicates whether this is the main route table.
-
routeTableAssociationId
public final String routeTableAssociationId()
The ID of the association.
- Returns:
- The ID of the association.
-
routeTableId
public final String routeTableId()
The ID of the route table.
- Returns:
- The ID of the route table.
-
subnetId
public final String subnetId()
The ID of the subnet. A subnet ID is not returned for an implicit association.
- Returns:
- The ID of the subnet. A subnet ID is not returned for an implicit association.
-
gatewayId
public final String gatewayId()
The ID of the internet gateway or virtual private gateway.
- Returns:
- The ID of the internet gateway or virtual private gateway.
-
associationState
public final RouteTableAssociationState associationState()
The state of the association.
- Returns:
- The state of the association.
-
toBuilder
public RouteTableAssociation.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<RouteTableAssociation.Builder,RouteTableAssociation>
-
builder
public static RouteTableAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteTableAssociation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-