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 String
The ID of the route attachment.builder()
final String
The CIDR block used for destination matches.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The ID of the prefix list.final String
The ID of the resource for the route attachment.final String
The resource type for the route attachment.final String
The route origin.static Class
<? extends TransitGatewayRouteTableRoute.Builder> final String
state()
The state of the route.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods 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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TransitGatewayRouteTableRoute.Builder,
TransitGatewayRouteTableRoute> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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
-