Class RouteScooterOptions
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.RouteScooterOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RouteScooterOptions.Builder,RouteScooterOptions>
@Generated("software.amazon.awssdk:codegen") public final class RouteScooterOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteScooterOptions.Builder,RouteScooterOptions>
Travel mode options when the provided travel mode is "Scooter"
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouteScooterOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouteScooterOptions.Builderbuilder()RouteEngineTypeengineType()Engine type of the vehicle.StringengineTypeAsString()Engine type of the vehicle.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RouteVehicleLicensePlatelicensePlate()The vehicle License Plate.DoublemaxSpeed()Maximum speedIntegeroccupancy()The number of occupants in the vehicle.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RouteScooterOptions.Builder>serializableBuilderClass()RouteScooterOptions.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
-
engineType
public final RouteEngineType engineType()
Engine type of the vehicle.
If the service returns an enum value that is not available in the current SDK version,
engineTypewill returnRouteEngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengineTypeAsString().- Returns:
- Engine type of the vehicle.
- See Also:
RouteEngineType
-
engineTypeAsString
public final String engineTypeAsString()
Engine type of the vehicle.
If the service returns an enum value that is not available in the current SDK version,
engineTypewill returnRouteEngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengineTypeAsString().- Returns:
- Engine type of the vehicle.
- See Also:
RouteEngineType
-
licensePlate
public final RouteVehicleLicensePlate licensePlate()
The vehicle License Plate.
- Returns:
- The vehicle License Plate.
-
maxSpeed
public final Double maxSpeed()
Maximum speed
Unit:
KilometersPerHour- Returns:
- Maximum speed
Unit:
KilometersPerHour
-
occupancy
public final Integer occupancy()
The number of occupants in the vehicle.
Default Value:
1- Returns:
- The number of occupants in the vehicle.
Default Value:
1
-
toBuilder
public RouteScooterOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RouteScooterOptions.Builder,RouteScooterOptions>
-
builder
public static RouteScooterOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteScooterOptions.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
-
-