Class CfnRouteCalculatorPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.location.CfnRouteCalculatorPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteCalculatorPropsMixin>
- Enclosing class:
CfnRouteCalculatorPropsMixin
@Stability(Stable)
public static final class CfnRouteCalculatorPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteCalculatorPropsMixin>
A fluent builder for
CfnRouteCalculatorPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()calculatorName(String calculatorName) The name of the route calculator resource.create()create(CfnPropertyMixinOptions options) dataSource(String dataSource) Specifies the data provider of traffic and road network data.description(String description) The optional description for the route calculator resource.pricingPlan(String pricingPlan) No longer used.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnRouteCalculatorPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRouteCalculatorPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRouteCalculatorPropsMixin.Builder.
-
calculatorName
@Stability(Stable) public CfnRouteCalculatorPropsMixin.Builder calculatorName(String calculatorName) The name of the route calculator resource.Requirements:
- Can use alphanumeric characters (A–Z, a–z, 0–9) , hyphens (-), periods (.), and underscores (_).
- Must be a unique Route calculator resource name.
- No spaces allowed. For example,
ExampleRouteCalculator.
- Parameters:
calculatorName- The name of the route calculator resource. This parameter is required.- Returns:
this- See Also:
-
dataSource
Specifies the data provider of traffic and road network data.This field is case-sensitive. Enter the valid values as shown. For example, entering
HEREreturns an error.Valid values include:
Esri– For additional information about Esri 's coverage in your region of interest, see Esri details on street networks and traffic coverage .
Route calculators that use Esri as a data source only calculate routes that are shorter than 400 km.
Grab– Grab provides routing functionality for Southeast Asia. For additional information about GrabMaps ' coverage, see GrabMaps countries and areas covered .Here– For additional information about HERE Technologies ' coverage in your region of interest, see HERE car routing coverage and HERE truck routing coverage .
For additional information , see Data providers on the Amazon Location Service Developer Guide .
- Parameters:
dataSource- Specifies the data provider of traffic and road network data. This parameter is required.- Returns:
this- See Also:
-
description
The optional description for the route calculator resource.- Parameters:
description- The optional description for the route calculator resource. This parameter is required.- Returns:
this- See Also:
-
pricingPlan
No longer used. If included, the only allowed value isRequestBasedUsage.Allowed Values :
RequestBasedUsage- Parameters:
pricingPlan- No longer used. If included, the only allowed value isRequestBasedUsage. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouteCalculatorPropsMixin>- Returns:
- a newly built instance of
CfnRouteCalculatorPropsMixin.
-