Class Route
- java.lang.Object
-
- software.amazon.awssdk.services.fms.model.Route
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Route.Builder,Route>
@Generated("software.amazon.awssdk:codegen") public final class Route extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Route.Builder,Route>
Describes a route in a route table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRoute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Route.Builderbuilder()Stringdestination()The destination of the route.DestinationTypedestinationType()The type of destination for the route.StringdestinationTypeAsString()The type of destination for the route.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Route.Builder>serializableBuilderClass()Stringtarget()The route's target.TargetTypetargetType()The type of target for the route.StringtargetTypeAsString()The type of target for the route.Route.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
-
destinationType
public 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,
destinationTypewill returnDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationTypeAsString().- Returns:
- The type of destination for the route.
- See Also:
DestinationType
-
destinationTypeAsString
public 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,
destinationTypewill returnDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationTypeAsString().- Returns:
- The type of destination for the route.
- See Also:
DestinationType
-
targetType
public 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,
targetTypewill returnTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The type of target for the route.
- See Also:
TargetType
-
targetTypeAsString
public 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,
targetTypewill returnTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The type of target for the route.
- See Also:
TargetType
-
destination
public final String destination()
The destination of the route.
- Returns:
- The destination of the route.
-
target
public final String target()
The route's target.
- Returns:
- The route's target.
-
toBuilder
public Route.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Route.Builder,Route>
-
builder
public static Route.Builder builder()
-
serializableBuilderClass
public static Class<? extends Route.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.
-
-