Interface CfnRouteCalculatorProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRouteCalculatorProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.795Z") @Stability(Stable) public interface CfnRouteCalculatorProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnRouteCalculator.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.location.*;
 CfnRouteCalculatorProps cfnRouteCalculatorProps = CfnRouteCalculatorProps.builder()
         .calculatorName("calculatorName")
         .dataSource("dataSource")
         // the properties below are optional
         .description("description")
         .pricingPlan("pricingPlan")
         .build();
 
  • Method Details

    • getCalculatorName

      @Stability(Stable) @NotNull String getCalculatorName()
      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 .
    • getDataSource

      @Stability(Stable) @NotNull String getDataSource()
      Specifies the data provider of traffic and road network data.

      This field is case-sensitive. Enter the valid values as shown. For example, entering HERE returns an error.

      Valid values include:

      Route calculators that use Esri as a data source only calculate routes that are shorter than 400 km.

      For additional information , see Data providers on the Amazon Location Service Developer Guide .

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The optional description for the route calculator resource.
    • getPricingPlan

      @Stability(Stable) @Nullable default String getPricingPlan()
      No longer used. If included, the only allowed value is RequestBasedUsage .

      Allowed Values : RequestBasedUsage

    • builder

      @Stability(Stable) static CfnRouteCalculatorProps.Builder builder()
      Returns:
      a CfnRouteCalculatorProps.Builder of CfnRouteCalculatorProps