public static final class CfnRouteCalculatorProps.Builder
extends java.lang.Object
CfnRouteCalculatorProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRouteCalculatorProps |
build()
Builds the configured instance.
|
CfnRouteCalculatorProps.Builder |
calculatorName(java.lang.String calculatorName)
Sets the value of
CfnRouteCalculatorProps.getCalculatorName() |
CfnRouteCalculatorProps.Builder |
dataSource(java.lang.String dataSource)
Sets the value of
CfnRouteCalculatorProps.getDataSource() |
CfnRouteCalculatorProps.Builder |
description(java.lang.String description)
Sets the value of
CfnRouteCalculatorProps.getDescription() |
CfnRouteCalculatorProps.Builder |
pricingPlan(java.lang.String pricingPlan)
Sets the value of
CfnRouteCalculatorProps.getPricingPlan() |
public CfnRouteCalculatorProps.Builder calculatorName(java.lang.String calculatorName)
CfnRouteCalculatorProps.getCalculatorName()
calculatorName
- The name of the route calculator resource. This parameter is required.
Requirements:
ExampleRouteCalculator
.this
public CfnRouteCalculatorProps.Builder dataSource(java.lang.String dataSource)
CfnRouteCalculatorProps.getDataSource()
dataSource
- Specifies the data provider of traffic and road network data. This parameter is required.
This field is case-sensitive. Enter the valid values as shown. For example, entering
HERE
returns 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 .
this
public CfnRouteCalculatorProps.Builder description(java.lang.String description)
CfnRouteCalculatorProps.getDescription()
description
- The optional description for the route calculator resource.this
public CfnRouteCalculatorProps.Builder pricingPlan(java.lang.String pricingPlan)
CfnRouteCalculatorProps.getPricingPlan()
pricingPlan
- No longer used. If included, the only allowed value is `RequestBasedUsage` .
Allowed Values : RequestBasedUsage
this
public CfnRouteCalculatorProps build()
CfnRouteCalculatorProps
java.lang.NullPointerException
- if any required attribute was not provided