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 interface
TransitGatewayRouteTableRoute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
attachmentId()
The ID of the route attachment.static TransitGatewayRouteTableRoute.Builder
builder()
String
destinationCidr()
The CIDR block used for destination matches.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
prefixListId()
The ID of the prefix list.String
resourceId()
The ID of the resource for the route attachment.String
resourceType()
The resource type for the route attachment.String
routeOrigin()
The route origin.List<SdkField<?>>
sdkFields()
static Class<? extends TransitGatewayRouteTableRoute.Builder>
serializableBuilderClass()
String
state()
The state of the route.TransitGatewayRouteTableRoute.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
-
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:
toBuilder
in 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:
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.
-
-