Interface CalculateIsolinesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CalculateIsolinesResponse.Builder,,CalculateIsolinesResponse> GeoRoutesResponse.Builder,SdkBuilder<CalculateIsolinesResponse.Builder,,CalculateIsolinesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CalculateIsolinesResponse
-
Method Summary
Modifier and TypeMethodDescriptionarrivalTime(String arrivalTime) Time of arrival at the destination, used for traffic calculations.departureTime(String departureTime) Time of departure from the origin, used for traffic calculations.isolineGeometryFormat(String isolineGeometryFormat) The format of the returned geometries, matching the format specified in the request.isolineGeometryFormat(GeometryFormat isolineGeometryFormat) The format of the returned geometries, matching the format specified in the request.isolines(Collection<Isoline> isolines) Reachable areas, or isolines, for each threshold specified in the request.isolines(Consumer<Isoline.Builder>... isolines) Reachable areas, or isolines, for each threshold specified in the request.Reachable areas, or isolines, for each threshold specified in the request.pricingBucket(String pricingBucket) The pricing bucket applied to this calculation.snappedDestination(Double... snappedDestination) The actual point on the road network used for calculations, which may differ from the requested destination ifDestinationwas not directly on a road.snappedDestination(Collection<Double> snappedDestination) The actual point on the road network used for calculations, which may differ from the requested destination ifDestinationwas not directly on a road.snappedOrigin(Double... snappedOrigin) The actual point on the road network used for calculations, which may differ from the requested origin ifOriginwas not directly on a road.snappedOrigin(Collection<Double> snappedOrigin) The actual point on the road network used for calculations, which may differ from the requested origin ifOriginwas not directly on a road.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.georoutes.model.GeoRoutesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arrivalTime
Time of arrival at the destination, used for traffic calculations. This attribute is returned only if the
DestinationandArrivalTimeattributes were provided in the request.Time format:
YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mmExamples:
2020-04-22T17:57:24Z2020-04-22T17:57:24+02:00- Parameters:
arrivalTime- Time of arrival at the destination, used for traffic calculations. This attribute is returned only if theDestinationandArrivalTimeattributes were provided in the request.Time format:
YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mmExamples:
2020-04-22T17:57:24Z2020-04-22T17:57:24+02:00- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
departureTime
Time of departure from the origin, used for traffic calculations. This attribute is returned when
Originwas provided in the request and either a specific departure time was requested (DepartureTime) orDepartNowwas set to true.Time format:
YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mmExamples:
2020-04-22T17:57:24Z2020-04-22T17:57:24+02:00- Parameters:
departureTime- Time of departure from the origin, used for traffic calculations. This attribute is returned whenOriginwas provided in the request and either a specific departure time was requested (DepartureTime) orDepartNowwas set to true.Time format:
YYYY-MM-DDThh:mm:ss.sssZ | YYYY-MM-DDThh:mm:ss.sss+hh:mmExamples:
2020-04-22T17:57:24Z2020-04-22T17:57:24+02:00- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isolineGeometryFormat
The format of the returned geometries, matching the format specified in the request. Either
FlexiblePolylinefor compact encoding orSimplefor GeoJSON-compatible coordinates.Default value:
FlexiblePolyline- Parameters:
isolineGeometryFormat- The format of the returned geometries, matching the format specified in the request. EitherFlexiblePolylinefor compact encoding orSimplefor GeoJSON-compatible coordinates.Default value:
FlexiblePolyline- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isolineGeometryFormat
The format of the returned geometries, matching the format specified in the request. Either
FlexiblePolylinefor compact encoding orSimplefor GeoJSON-compatible coordinates.Default value:
FlexiblePolyline- Parameters:
isolineGeometryFormat- The format of the returned geometries, matching the format specified in the request. EitherFlexiblePolylinefor compact encoding orSimplefor GeoJSON-compatible coordinates.Default value:
FlexiblePolyline- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isolines
Reachable areas, or isolines, for each threshold specified in the request.
- Parameters:
isolines- Reachable areas, or isolines, for each threshold specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isolines
Reachable areas, or isolines, for each threshold specified in the request.
- Parameters:
isolines- Reachable areas, or isolines, for each threshold specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isolines
Reachable areas, or isolines, for each threshold specified in the request.
This is a convenience method that creates an instance of theIsoline.Builderavoiding the need to create one manually viaIsoline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toisolines(List<Isoline>).- Parameters:
isolines- a consumer that will call methods onIsoline.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pricingBucket
The pricing bucket applied to this calculation. Different buckets apply based on the travel mode and thresholds used.
- Parameters:
pricingBucket- The pricing bucket applied to this calculation. Different buckets apply based on the travel mode and thresholds used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedDestination
The actual point on the road network used for calculations, which may differ from the requested destination if
Destinationwas not directly on a road.- Parameters:
snappedDestination- The actual point on the road network used for calculations, which may differ from the requested destination ifDestinationwas not directly on a road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedDestination
The actual point on the road network used for calculations, which may differ from the requested destination if
Destinationwas not directly on a road.- Parameters:
snappedDestination- The actual point on the road network used for calculations, which may differ from the requested destination ifDestinationwas not directly on a road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedOrigin
The actual point on the road network used for calculations, which may differ from the requested origin if
Originwas not directly on a road.- Parameters:
snappedOrigin- The actual point on the road network used for calculations, which may differ from the requested origin ifOriginwas not directly on a road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedOrigin
The actual point on the road network used for calculations, which may differ from the requested origin if
Originwas not directly on a road.- Parameters:
snappedOrigin- The actual point on the road network used for calculations, which may differ from the requested origin ifOriginwas not directly on a road.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-