Class RouteTollOptions
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.RouteTollOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RouteTollOptions.Builder,RouteTollOptions>
@Generated("software.amazon.awssdk:codegen") public final class RouteTollOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteTollOptions.Builder,RouteTollOptions>
Options related to Tolls on a route.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouteTollOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallTransponders()Specifies if the user has valid transponder with access to all toll systems.BooleanallVignettes()Specifies if the user has valid vignettes with access for all toll roads.static RouteTollOptions.Builderbuilder()Stringcurrency()Currency code corresponding to the price.RouteEmissionTypeemissionType()Emission type of the vehicle for toll cost calculation.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RouteTollOptions.Builder>serializableBuilderClass()RouteTollOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.RouteTollVehicleCategoryvehicleCategory()Vehicle category for toll cost calculation.StringvehicleCategoryAsString()Vehicle category for toll cost calculation.-
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
-
allTransponders
public final Boolean allTransponders()
Specifies if the user has valid transponder with access to all toll systems. This impacts toll calculation, and if true the price with transponders is used.
- Returns:
- Specifies if the user has valid transponder with access to all toll systems. This impacts toll calculation, and if true the price with transponders is used.
-
allVignettes
public final Boolean allVignettes()
Specifies if the user has valid vignettes with access for all toll roads. If a user has a vignette for a toll road, then toll cost for that road is omitted since no further payment is necessary.
- Returns:
- Specifies if the user has valid vignettes with access for all toll roads. If a user has a vignette for a toll road, then toll cost for that road is omitted since no further payment is necessary.
-
currency
public final String currency()
Currency code corresponding to the price. This is the same as Currency specified in the request.
- Returns:
- Currency code corresponding to the price. This is the same as Currency specified in the request.
-
emissionType
public final RouteEmissionType emissionType()
Emission type of the vehicle for toll cost calculation.
Valid values:
Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev- Returns:
- Emission type of the vehicle for toll cost calculation.
Valid values:
Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev
-
vehicleCategory
public final RouteTollVehicleCategory vehicleCategory()
Vehicle category for toll cost calculation.
If the service returns an enum value that is not available in the current SDK version,
vehicleCategorywill returnRouteTollVehicleCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvehicleCategoryAsString().- Returns:
- Vehicle category for toll cost calculation.
- See Also:
RouteTollVehicleCategory
-
vehicleCategoryAsString
public final String vehicleCategoryAsString()
Vehicle category for toll cost calculation.
If the service returns an enum value that is not available in the current SDK version,
vehicleCategorywill returnRouteTollVehicleCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvehicleCategoryAsString().- Returns:
- Vehicle category for toll cost calculation.
- See Also:
RouteTollVehicleCategory
-
toBuilder
public RouteTollOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RouteTollOptions.Builder,RouteTollOptions>
-
builder
public static RouteTollOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteTollOptions.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-