Class TransitGatewayRouteTableRoute
java.lang.Object
software.amazon.awssdk.services.ec2.model.TransitGatewayRouteTableRoute
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TransitGatewayRouteTableRoute.Builder,TransitGatewayRouteTableRoute>
@Generated("software.amazon.awssdk:codegen")
public final class TransitGatewayRouteTableRoute
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayRouteTableRoute.Builder,TransitGatewayRouteTableRoute>
Describes a route in a transit gateway route table.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe ID of the route attachment.builder()final StringThe CIDR block used for destination matches.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the prefix list.final StringThe ID of the resource for the route attachment.final StringThe resource type for the route attachment.final StringThe route origin.static Class<? extends TransitGatewayRouteTableRoute.Builder>final Stringstate()The state of the route.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
destinationCidr
The CIDR block used for destination matches.
- Returns:
- The CIDR block used for destination matches.
-
state
The state of the route.
- Returns:
- The state of the route.
-
routeOrigin
The route origin. The following are the possible values:
-
static
-
propagated
- Returns:
- The route origin. The following are the possible values:
-
static
-
propagated
-
-
-
prefixListId
The ID of the prefix list.
- Returns:
- The ID of the prefix list.
-
attachmentId
The ID of the route attachment.
- Returns:
- The ID of the route attachment.
-
resourceId
The ID of the resource for the route attachment.
- Returns:
- The ID of the resource for the route attachment.
-
resourceType
The resource type for the route attachment.
- Returns:
- The resource type for the route attachment.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<TransitGatewayRouteTableRoute.Builder,TransitGatewayRouteTableRoute>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-