Interface RouteVehicleIncident.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteVehicleIncident.Builder,
,RouteVehicleIncident> SdkBuilder<RouteVehicleIncident.Builder,
,RouteVehicleIncident> SdkPojo
- Enclosing class:
RouteVehicleIncident
@Mutable
@NotThreadSafe
public static interface RouteVehicleIncident.Builder
extends SdkPojo, CopyableBuilder<RouteVehicleIncident.Builder,RouteVehicleIncident>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) Brief readable description of the incident.End timestamp of the incident.Severity of the incident Critical - The part of the route the incident affects is unusable.severity
(RouteVehicleIncidentSeverity severity) Severity of the incident Critical - The part of the route the incident affects is unusable.Start time of the incident.Type of the incident.type
(RouteVehicleIncidentType type) Type of the incident.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
Brief readable description of the incident.
- Parameters:
description
- Brief readable description of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
End timestamp of the incident.
- Parameters:
endTime
- End timestamp of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic
- Parameters:
severity
- Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic
- Parameters:
severity
- Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
Start time of the incident.
- Parameters:
startTime
- Start time of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Type of the incident.
- Parameters:
type
- Type of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of the incident.
- Parameters:
type
- Type of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-