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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTransitGatewayRouteTableRoute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattachmentId()The ID of the route attachment.static TransitGatewayRouteTableRoute.Builderbuilder()StringdestinationCidr()The CIDR block used for destination matches.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprefixListId()The ID of the prefix list.StringresourceId()The ID of the resource for the route attachment.StringresourceType()The resource type for the route attachment.StringrouteOrigin()The route origin.List<SdkField<?>>sdkFields()static Class<? extends TransitGatewayRouteTableRoute.Builder>serializableBuilderClass()Stringstate()The state of the route.TransitGatewayRouteTableRoute.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
-
destinationCidr
public final String destinationCidr()
The CIDR block used for destination matches.
- Returns:
- The CIDR block used for destination matches.
-
state
public final String state()
The state of the route.
- Returns:
- The state of the route.
-
routeOrigin
public final String 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
public final String prefixListId()
The ID of the prefix list.
- Returns:
- The ID of the prefix list.
-
attachmentId
public final String attachmentId()
The ID of the route attachment.
- Returns:
- The ID of the route attachment.
-
resourceId
public final String resourceId()
The ID of the resource for the route attachment.
- Returns:
- The ID of the resource for the route attachment.
-
resourceType
public final String resourceType()
The resource type for the route attachment.
- Returns:
- The resource type for the route attachment.
-
toBuilder
public TransitGatewayRouteTableRoute.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TransitGatewayRouteTableRoute.Builder,TransitGatewayRouteTableRoute>
-
builder
public static TransitGatewayRouteTableRoute.Builder builder()
-
serializableBuilderClass
public static Class<? extends TransitGatewayRouteTableRoute.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.
-
-