Class RouteCarOptions
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.RouteCarOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RouteCarOptions.Builder,RouteCarOptions>
@Generated("software.amazon.awssdk:codegen") public final class RouteCarOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteCarOptions.Builder,RouteCarOptions>
Travel mode options when the provided travel mode is "Car"
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRouteCarOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouteCarOptions.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 speed specified.Integeroccupancy()The number of occupants in the vehicle.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RouteCarOptions.Builder>serializableBuilderClass()RouteCarOptions.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 specified.
Unit:
KilometersPerHour- Returns:
- Maximum speed specified.
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 RouteCarOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RouteCarOptions.Builder,RouteCarOptions>
-
builder
public static RouteCarOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends RouteCarOptions.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
-
-