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 interfaceRouteTableAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteTableAssociationStateassociationState()The state of the association.static RouteTableAssociation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgatewayId()The ID of the internet gateway or virtual private gateway.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleanmain()Indicates whether this is the main route table.StringrouteTableAssociationId()The ID of the association.StringrouteTableId()The ID of the route table.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RouteTableAssociation.Builder>serializableBuilderClass()StringsubnetId()The ID of the subnet.RouteTableAssociation.BuildertoBuilder()StringtoString()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-