@Generated(value="software.amazon.awssdk:codegen") public final class Route extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Route.Builder,Route>
Describes a route in a route table.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Route.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Route.Builder |
builder() |
String |
destination()
The destination of the route.
|
DestinationType |
destinationType()
The type of destination for the route.
|
String |
destinationTypeAsString()
The type of destination for the route.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Route.Builder> |
serializableBuilderClass() |
String |
target()
The route's target.
|
TargetType |
targetType()
The type of target for the route.
|
String |
targetTypeAsString()
The type of target for the route.
|
Route.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DestinationType destinationType()
The type of destination for the route.
If the service returns an enum value that is not available in the current SDK version, destinationType
will return DestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from destinationTypeAsString().
DestinationTypepublic final String destinationTypeAsString()
The type of destination for the route.
If the service returns an enum value that is not available in the current SDK version, destinationType
will return DestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from destinationTypeAsString().
DestinationTypepublic final TargetType targetType()
The type of target for the route.
If the service returns an enum value that is not available in the current SDK version, targetType will
return TargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetTypeAsString().
TargetTypepublic final String targetTypeAsString()
The type of target for the route.
If the service returns an enum value that is not available in the current SDK version, targetType will
return TargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetTypeAsString().
TargetTypepublic final String destination()
The destination of the route.
public final String target()
The route's target.
public Route.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Route.Builder,Route>public static Route.Builder builder()
public static Class<? extends Route.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.