Interface RouteVehicleIncident.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteVehicleIncident.Builder,RouteVehicleIncident>,SdkBuilder<RouteVehicleIncident.Builder,RouteVehicleIncident>,SdkPojo
- Enclosing class:
- RouteVehicleIncident
public static interface RouteVehicleIncident.Builder extends SdkPojo, CopyableBuilder<RouteVehicleIncident.Builder,RouteVehicleIncident>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteVehicleIncident.Builderdescription(String description)Brief readable description of the incident.RouteVehicleIncident.BuilderendTime(String endTime)End timestamp of the incident.RouteVehicleIncident.Builderseverity(String severity)Severity of the incident Critical - The part of the route the incident affects is unusable.RouteVehicleIncident.Builderseverity(RouteVehicleIncidentSeverity severity)Severity of the incident Critical - The part of the route the incident affects is unusable.RouteVehicleIncident.BuilderstartTime(String startTime)Start time of the incident.RouteVehicleIncident.Buildertype(String type)Type of the incident.RouteVehicleIncident.Buildertype(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 Detail
-
description
RouteVehicleIncident.Builder description(String 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
RouteVehicleIncident.Builder endTime(String 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
RouteVehicleIncident.Builder severity(String 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:
RouteVehicleIncidentSeverity,RouteVehicleIncidentSeverity
-
severity
RouteVehicleIncident.Builder severity(RouteVehicleIncidentSeverity 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:
RouteVehicleIncidentSeverity,RouteVehicleIncidentSeverity
-
startTime
RouteVehicleIncident.Builder startTime(String 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
RouteVehicleIncident.Builder type(String 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:
RouteVehicleIncidentType,RouteVehicleIncidentType
-
type
RouteVehicleIncident.Builder type(RouteVehicleIncidentType 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:
RouteVehicleIncidentType,RouteVehicleIncidentType
-
-