Class RouteTollPriceSummary
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.RouteTollPriceSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RouteTollPriceSummary.Builder,RouteTollPriceSummary>
@Generated("software.amazon.awssdk:codegen") public final class RouteTollPriceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteTollPriceSummary.Builder,RouteTollPriceSummary>
Summary of the route and toll price.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouteTollPriceSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouteTollPriceSummary.Builderbuilder()Stringcurrency()Currency code corresponding to the price.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleanestimate()If the price is an estimate or an exact value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleanrange()If the price is a range or an exact value.RouteTollPriceValueRangerangeValue()Price range with a minimum and maximum value, if a range.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RouteTollPriceSummary.Builder>serializableBuilderClass()RouteTollPriceSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevalue()Exact price, if not a range.-
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
-
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.
-
estimate
public final Boolean estimate()
If the price is an estimate or an exact value.
- Returns:
- If the price is an estimate or an exact value.
-
range
public final Boolean range()
If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range.
- Returns:
- If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range.
-
rangeValue
public final RouteTollPriceValueRange rangeValue()
Price range with a minimum and maximum value, if a range.
- Returns:
- Price range with a minimum and maximum value, if a range.
-
value
public final Double value()
Exact price, if not a range.
- Returns:
- Exact price, if not a range.
-
toBuilder
public RouteTollPriceSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RouteTollPriceSummary.Builder,RouteTollPriceSummary>
-
builder
public static RouteTollPriceSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteTollPriceSummary.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
-
-