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:
  • Method Details

    • 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

      Specified by:
      toBuilder in interface ToCopyableBuilder<TransitGatewayRouteTableRoute.Builder,TransitGatewayRouteTableRoute>
    • builder

      public static TransitGatewayRouteTableRoute.Builder builder()
    • serializableBuilderClass

      public static Class<? extends TransitGatewayRouteTableRoute.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo