Class WaypointOptimizationDriverOptions
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.WaypointOptimizationDriverOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WaypointOptimizationDriverOptions.Builder,WaypointOptimizationDriverOptions>
@Generated("software.amazon.awssdk:codegen") public final class WaypointOptimizationDriverOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WaypointOptimizationDriverOptions.Builder,WaypointOptimizationDriverOptions>
Driver related options.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWaypointOptimizationDriverOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WaypointOptimizationDriverOptions.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()WaypointOptimizationRestCyclesrestCycles()Driver work-rest schedules defined by a short and long cycle.WaypointOptimizationRestProfilerestProfile()Pre defined rest profiles for a driver schedule.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WaypointOptimizationDriverOptions.Builder>serializableBuilderClass()WaypointOptimizationDriverOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.WaypointOptimizationServiceTimeTreatmenttreatServiceTimeAs()If the service time provided at a waypoint/destination should be considered as rest or work.StringtreatServiceTimeAsAsString()If the service time provided at a waypoint/destination should be considered as rest or work.-
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
-
restCycles
public final WaypointOptimizationRestCycles restCycles()
Driver work-rest schedules defined by a short and long cycle. A rest needs to be taken after the short work duration. The short cycle can be repeated until you hit the long work duration, at which point the long rest duration should be taken before restarting.
- Returns:
- Driver work-rest schedules defined by a short and long cycle. A rest needs to be taken after the short work duration. The short cycle can be repeated until you hit the long work duration, at which point the long rest duration should be taken before restarting.
-
restProfile
public final WaypointOptimizationRestProfile restProfile()
Pre defined rest profiles for a driver schedule. The only currently supported profile is EU.
- Returns:
- Pre defined rest profiles for a driver schedule. The only currently supported profile is EU.
-
treatServiceTimeAs
public final WaypointOptimizationServiceTimeTreatment treatServiceTimeAs()
If the service time provided at a waypoint/destination should be considered as rest or work. This contributes to the total time breakdown returned within the response.
If the service returns an enum value that is not available in the current SDK version,
treatServiceTimeAswill returnWaypointOptimizationServiceTimeTreatment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtreatServiceTimeAsAsString().- Returns:
- If the service time provided at a waypoint/destination should be considered as rest or work. This contributes to the total time breakdown returned within the response.
- See Also:
WaypointOptimizationServiceTimeTreatment
-
treatServiceTimeAsAsString
public final String treatServiceTimeAsAsString()
If the service time provided at a waypoint/destination should be considered as rest or work. This contributes to the total time breakdown returned within the response.
If the service returns an enum value that is not available in the current SDK version,
treatServiceTimeAswill returnWaypointOptimizationServiceTimeTreatment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtreatServiceTimeAsAsString().- Returns:
- If the service time provided at a waypoint/destination should be considered as rest or work. This contributes to the total time breakdown returned within the response.
- See Also:
WaypointOptimizationServiceTimeTreatment
-
toBuilder
public WaypointOptimizationDriverOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WaypointOptimizationDriverOptions.Builder,WaypointOptimizationDriverOptions>
-
builder
public static WaypointOptimizationDriverOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends WaypointOptimizationDriverOptions.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
-
-