Class RouteTollPass
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.RouteTollPass
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RouteTollPass.Builder,RouteTollPass>
@Generated("software.amazon.awssdk:codegen") public final class RouteTollPass extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteTollPass.Builder,RouteTollPass>
Details if the toll rate can be a pass that supports multiple trips.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouteTollPass.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouteTollPass.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludesReturnTrip()If the pass includes the rate for the return leg of the trip.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()BooleanseniorPass()If the pass is only valid for senior persons.static Class<? extends RouteTollPass.Builder>serializableBuilderClass()RouteTollPass.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertransferCount()If the toll pass can be transferred, and how many times.IntegertripCount()Number of trips the pass is valid for.RouteTollPassValidityPeriodvalidityPeriod()Period for which the pass is valid.-
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
-
includesReturnTrip
public final Boolean includesReturnTrip()
If the pass includes the rate for the return leg of the trip.
- Returns:
- If the pass includes the rate for the return leg of the trip.
-
seniorPass
public final Boolean seniorPass()
If the pass is only valid for senior persons.
- Returns:
- If the pass is only valid for senior persons.
-
transferCount
public final Integer transferCount()
If the toll pass can be transferred, and how many times.
- Returns:
- If the toll pass can be transferred, and how many times.
-
tripCount
public final Integer tripCount()
Number of trips the pass is valid for.
- Returns:
- Number of trips the pass is valid for.
-
validityPeriod
public final RouteTollPassValidityPeriod validityPeriod()
Period for which the pass is valid.
- Returns:
- Period for which the pass is valid.
-
toBuilder
public RouteTollPass.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RouteTollPass.Builder,RouteTollPass>
-
builder
public static RouteTollPass.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteTollPass.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
-
-