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.departureTime(String departureTime) Time of departure from thr origin.isolineGeometryFormat(String isolineGeometryFormat) The format of the returned IsolineGeometry.isolineGeometryFormat(GeometryFormat isolineGeometryFormat) The format of the returned IsolineGeometry.isolines(Collection<Isoline> isolines) Calculated isolines and associated properties.isolines(Consumer<Isoline.Builder>... isolines) Calculated isolines and associated properties.Calculated isolines and associated properties.pricingBucket(String pricingBucket) The pricing bucket for which the query is charged at.snappedDestination(Double... snappedDestination) Snapped destination that was used for the Isoline calculation.snappedDestination(Collection<Double> snappedDestination) Snapped destination that was used for the Isoline calculation.snappedOrigin(Double... snappedOrigin) Snapped origin that was used for the Isoline calculation.snappedOrigin(Collection<Double> snappedOrigin) Snapped origin that was used for the Isoline calculation.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. This parameter is returned only if the Destination parameters was 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. This parameter is returned only if the Destination parameters was 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 thr origin.
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 thr origin.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 IsolineGeometry.
Default Value:
FlexiblePolyline- Parameters:
isolineGeometryFormat- The format of the returned IsolineGeometry.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 IsolineGeometry.
Default Value:
FlexiblePolyline- Parameters:
isolineGeometryFormat- The format of the returned IsolineGeometry.Default Value:
FlexiblePolyline- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isolines
Calculated isolines and associated properties.
- Parameters:
isolines- Calculated isolines and associated properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isolines
Calculated isolines and associated properties.
- Parameters:
isolines- Calculated isolines and associated properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isolines
Calculated isolines and associated properties.
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 for which the query is charged at.
- Parameters:
pricingBucket- The pricing bucket for which the query is charged at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedDestination
Snapped destination that was used for the Isoline calculation.
- Parameters:
snappedDestination- Snapped destination that was used for the Isoline calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedDestination
Snapped destination that was used for the Isoline calculation.
- Parameters:
snappedDestination- Snapped destination that was used for the Isoline calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedOrigin
Snapped origin that was used for the Isoline calculation.
- Parameters:
snappedOrigin- Snapped origin that was used for the Isoline calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snappedOrigin
Snapped origin that was used for the Isoline calculation.
- Parameters:
snappedOrigin- Snapped origin that was used for the Isoline calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-