Interface RoutePedestrianSpan.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RoutePedestrianSpan.Builder,RoutePedestrianSpan>,SdkBuilder<RoutePedestrianSpan.Builder,RoutePedestrianSpan>,SdkPojo
- Enclosing class:
- RoutePedestrianSpan
public static interface RoutePedestrianSpan.Builder extends SdkPojo, CopyableBuilder<RoutePedestrianSpan.Builder,RoutePedestrianSpan>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RoutePedestrianSpan.BuilderbestCaseDuration(Long bestCaseDuration)Duration of the computed span without traffic congestion.RoutePedestrianSpan.Buildercountry(String country)3 letter Country code corresponding to the Span.RoutePedestrianSpan.Builderdistance(Long distance)Distance of the computed span.RoutePedestrianSpan.Builderduration(Long duration)Duration of the computed span.default RoutePedestrianSpan.BuilderdynamicSpeed(Consumer<RouteSpanDynamicSpeedDetails.Builder> dynamicSpeed)Dynamic speed details corresponding to the span.RoutePedestrianSpan.BuilderdynamicSpeed(RouteSpanDynamicSpeedDetails dynamicSpeed)Dynamic speed details corresponding to the span.RoutePedestrianSpan.BuilderfunctionalClassification(Integer functionalClassification)Functional classification of the road segment corresponding to the span.RoutePedestrianSpan.BuildergeometryOffset(Integer geometryOffset)Offset in the leg geometry corresponding to the start of this span.RoutePedestrianSpan.Builderincidents(Integer... incidents)Incidents corresponding to the span.RoutePedestrianSpan.Builderincidents(Collection<Integer> incidents)Incidents corresponding to the span.RoutePedestrianSpan.Buildernames(Collection<LocalizedString> names)Provides an array of names of the pedestrian span in available languages.RoutePedestrianSpan.Buildernames(Consumer<LocalizedString.Builder>... names)Provides an array of names of the pedestrian span in available languages.RoutePedestrianSpan.Buildernames(LocalizedString... names)Provides an array of names of the pedestrian span in available languages.RoutePedestrianSpan.BuilderpedestrianAccess(Collection<RouteSpanPedestrianAccessAttribute> pedestrianAccess)Access attributes for a pedestrian corresponding to the span.RoutePedestrianSpan.BuilderpedestrianAccess(RouteSpanPedestrianAccessAttribute... pedestrianAccess)Access attributes for a pedestrian corresponding to the span.RoutePedestrianSpan.BuilderpedestrianAccessWithStrings(String... pedestrianAccess)Access attributes for a pedestrian corresponding to the span.RoutePedestrianSpan.BuilderpedestrianAccessWithStrings(Collection<String> pedestrianAccess)Access attributes for a pedestrian corresponding to the span.RoutePedestrianSpan.Builderregion(String region)2-3 letter Region code corresponding to the Span.RoutePedestrianSpan.BuilderroadAttributes(Collection<RouteSpanRoadAttribute> roadAttributes)Attributes for the road segment corresponding to the span.RoutePedestrianSpan.BuilderroadAttributes(RouteSpanRoadAttribute... roadAttributes)Attributes for the road segment corresponding to the span.RoutePedestrianSpan.BuilderroadAttributesWithStrings(String... roadAttributes)Attributes for the road segment corresponding to the span.RoutePedestrianSpan.BuilderroadAttributesWithStrings(Collection<String> roadAttributes)Attributes for the road segment corresponding to the span.RoutePedestrianSpan.BuilderrouteNumbers(Collection<RouteNumber> routeNumbers)Designated route name or number corresponding to the span.RoutePedestrianSpan.BuilderrouteNumbers(Consumer<RouteNumber.Builder>... routeNumbers)Designated route name or number corresponding to the span.RoutePedestrianSpan.BuilderrouteNumbers(RouteNumber... routeNumbers)Designated route name or number corresponding to the span.default RoutePedestrianSpan.BuilderspeedLimit(Consumer<RouteSpanSpeedLimitDetails.Builder> speedLimit)Speed limit details corresponding to the span.RoutePedestrianSpan.BuilderspeedLimit(RouteSpanSpeedLimitDetails speedLimit)Speed limit details corresponding to the span.RoutePedestrianSpan.BuildertypicalDuration(Long typicalDuration)Duration of the computed span under typical traffic congestion.-
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
-
bestCaseDuration
RoutePedestrianSpan.Builder bestCaseDuration(Long bestCaseDuration)
Duration of the computed span without traffic congestion.
Unit:
seconds- Parameters:
bestCaseDuration- Duration of the computed span without traffic congestion.Unit:
seconds- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
RoutePedestrianSpan.Builder country(String country)
3 letter Country code corresponding to the Span.
- Parameters:
country- 3 letter Country code corresponding to the Span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distance
RoutePedestrianSpan.Builder distance(Long distance)
Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.
- Parameters:
distance- Distance of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
RoutePedestrianSpan.Builder duration(Long duration)
Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.
Unit:
seconds- Parameters:
duration- Duration of the computed span. This feature doesn't split a span, but is always computed on a span split by other properties.Unit:
seconds- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamicSpeed
RoutePedestrianSpan.Builder dynamicSpeed(RouteSpanDynamicSpeedDetails dynamicSpeed)
Dynamic speed details corresponding to the span.
Unit:
KilometersPerHour- Parameters:
dynamicSpeed- Dynamic speed details corresponding to the span.Unit:
KilometersPerHour- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamicSpeed
default RoutePedestrianSpan.Builder dynamicSpeed(Consumer<RouteSpanDynamicSpeedDetails.Builder> dynamicSpeed)
Dynamic speed details corresponding to the span.
Unit:
This is a convenience method that creates an instance of theKilometersPerHourRouteSpanDynamicSpeedDetails.Builderavoiding the need to create one manually viaRouteSpanDynamicSpeedDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todynamicSpeed(RouteSpanDynamicSpeedDetails).- Parameters:
dynamicSpeed- a consumer that will call methods onRouteSpanDynamicSpeedDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dynamicSpeed(RouteSpanDynamicSpeedDetails)
-
functionalClassification
RoutePedestrianSpan.Builder functionalClassification(Integer functionalClassification)
Functional classification of the road segment corresponding to the span.
- Parameters:
functionalClassification- Functional classification of the road segment corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometryOffset
RoutePedestrianSpan.Builder geometryOffset(Integer geometryOffset)
Offset in the leg geometry corresponding to the start of this span.
- Parameters:
geometryOffset- Offset in the leg geometry corresponding to the start of this span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidents
RoutePedestrianSpan.Builder incidents(Collection<Integer> incidents)
Incidents corresponding to the span. These index into the Incidents in the parent Leg.
- Parameters:
incidents- Incidents corresponding to the span. These index into the Incidents in the parent Leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidents
RoutePedestrianSpan.Builder incidents(Integer... incidents)
Incidents corresponding to the span. These index into the Incidents in the parent Leg.
- Parameters:
incidents- Incidents corresponding to the span. These index into the Incidents in the parent Leg.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
RoutePedestrianSpan.Builder names(Collection<LocalizedString> names)
Provides an array of names of the pedestrian span in available languages.
- Parameters:
names- Provides an array of names of the pedestrian span in available languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
RoutePedestrianSpan.Builder names(LocalizedString... names)
Provides an array of names of the pedestrian span in available languages.
- Parameters:
names- Provides an array of names of the pedestrian span in available languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
RoutePedestrianSpan.Builder names(Consumer<LocalizedString.Builder>... names)
Provides an array of names of the pedestrian span in available languages.
This is a convenience method that creates an instance of theLocalizedString.Builderavoiding the need to create one manually viaLocalizedString.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#names(List.) - Parameters:
names- a consumer that will call methods onLocalizedString.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#names(java.util.Collection)
-
pedestrianAccessWithStrings
RoutePedestrianSpan.Builder pedestrianAccessWithStrings(Collection<String> pedestrianAccess)
Access attributes for a pedestrian corresponding to the span.
- Parameters:
pedestrianAccess- Access attributes for a pedestrian corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pedestrianAccessWithStrings
RoutePedestrianSpan.Builder pedestrianAccessWithStrings(String... pedestrianAccess)
Access attributes for a pedestrian corresponding to the span.
- Parameters:
pedestrianAccess- Access attributes for a pedestrian corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pedestrianAccess
RoutePedestrianSpan.Builder pedestrianAccess(Collection<RouteSpanPedestrianAccessAttribute> pedestrianAccess)
Access attributes for a pedestrian corresponding to the span.
- Parameters:
pedestrianAccess- Access attributes for a pedestrian corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pedestrianAccess
RoutePedestrianSpan.Builder pedestrianAccess(RouteSpanPedestrianAccessAttribute... pedestrianAccess)
Access attributes for a pedestrian corresponding to the span.
- Parameters:
pedestrianAccess- Access attributes for a pedestrian corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
RoutePedestrianSpan.Builder region(String region)
2-3 letter Region code corresponding to the Span. This is either a province or a state.
- Parameters:
region- 2-3 letter Region code corresponding to the Span. This is either a province or a state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roadAttributesWithStrings
RoutePedestrianSpan.Builder roadAttributesWithStrings(Collection<String> roadAttributes)
Attributes for the road segment corresponding to the span.
- Parameters:
roadAttributes- Attributes for the road segment corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roadAttributesWithStrings
RoutePedestrianSpan.Builder roadAttributesWithStrings(String... roadAttributes)
Attributes for the road segment corresponding to the span.
- Parameters:
roadAttributes- Attributes for the road segment corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roadAttributes
RoutePedestrianSpan.Builder roadAttributes(Collection<RouteSpanRoadAttribute> roadAttributes)
Attributes for the road segment corresponding to the span.
- Parameters:
roadAttributes- Attributes for the road segment corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roadAttributes
RoutePedestrianSpan.Builder roadAttributes(RouteSpanRoadAttribute... roadAttributes)
Attributes for the road segment corresponding to the span.
- Parameters:
roadAttributes- Attributes for the road segment corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeNumbers
RoutePedestrianSpan.Builder routeNumbers(Collection<RouteNumber> routeNumbers)
Designated route name or number corresponding to the span.
- Parameters:
routeNumbers- Designated route name or number corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeNumbers
RoutePedestrianSpan.Builder routeNumbers(RouteNumber... routeNumbers)
Designated route name or number corresponding to the span.
- Parameters:
routeNumbers- Designated route name or number corresponding to the span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeNumbers
RoutePedestrianSpan.Builder routeNumbers(Consumer<RouteNumber.Builder>... routeNumbers)
Designated route name or number corresponding to the span.
This is a convenience method that creates an instance of theRouteNumber.Builderavoiding the need to create one manually viaRouteNumber.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routeNumbers(List.) - Parameters:
routeNumbers- a consumer that will call methods onRouteNumber.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#routeNumbers(java.util.Collection)
-
speedLimit
RoutePedestrianSpan.Builder speedLimit(RouteSpanSpeedLimitDetails speedLimit)
Speed limit details corresponding to the span.
Unit:
KilometersPerHour- Parameters:
speedLimit- Speed limit details corresponding to the span.Unit:
KilometersPerHour- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
speedLimit
default RoutePedestrianSpan.Builder speedLimit(Consumer<RouteSpanSpeedLimitDetails.Builder> speedLimit)
Speed limit details corresponding to the span.
Unit:
This is a convenience method that creates an instance of theKilometersPerHourRouteSpanSpeedLimitDetails.Builderavoiding the need to create one manually viaRouteSpanSpeedLimitDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospeedLimit(RouteSpanSpeedLimitDetails).- Parameters:
speedLimit- a consumer that will call methods onRouteSpanSpeedLimitDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
speedLimit(RouteSpanSpeedLimitDetails)
-
typicalDuration
RoutePedestrianSpan.Builder typicalDuration(Long typicalDuration)
Duration of the computed span under typical traffic congestion.
Unit:
seconds- Parameters:
typicalDuration- Duration of the computed span under typical traffic congestion.Unit:
seconds- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-