Interface RouteIntermodalTaxiOptions.Builder

  • Method Details

    • allowedModesWithStrings

      RouteIntermodalTaxiOptions.Builder allowedModesWithStrings(Collection<String> allowedModes)

      Allowed taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.

      Parameters:
      allowedModes - Allowed taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedModesWithStrings

      RouteIntermodalTaxiOptions.Builder allowedModesWithStrings(String... allowedModes)

      Allowed taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.

      Parameters:
      allowedModes - Allowed taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedModes

      Allowed taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.

      Parameters:
      allowedModes - Allowed taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedModes

      RouteIntermodalTaxiOptions.Builder allowedModes(RouteTaxiMode... allowedModes)

      Allowed taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.

      Parameters:
      allowedModes - Allowed taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with ExcludedModes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledForWithStrings

      RouteIntermodalTaxiOptions.Builder enabledForWithStrings(Collection<String> enabledFor)

      Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

      • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

      • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

      • EntireRoute - Enable this leg type for the entire route.

      • None - Disable this leg type entirely.

      Parameters:
      enabledFor - Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

      • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

      • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

      • EntireRoute - Enable this leg type for the entire route.

      • None - Disable this leg type entirely.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledForWithStrings

      RouteIntermodalTaxiOptions.Builder enabledForWithStrings(String... enabledFor)

      Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

      • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

      • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

      • EntireRoute - Enable this leg type for the entire route.

      • None - Disable this leg type entirely.

      Parameters:
      enabledFor - Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

      • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

      • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

      • EntireRoute - Enable this leg type for the entire route.

      • None - Disable this leg type entirely.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledFor

      Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

      • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

      • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

      • EntireRoute - Enable this leg type for the entire route.

      • None - Disable this leg type entirely.

      Parameters:
      enabledFor - Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

      • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

      • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

      • EntireRoute - Enable this leg type for the entire route.

      • None - Disable this leg type entirely.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledFor

      Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

      • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

      • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

      • EntireRoute - Enable this leg type for the entire route.

      • None - Disable this leg type entirely.

      Parameters:
      enabledFor - Specifies the portion of the route for which this leg type is enabled. By default, the leg type is enabled for all legs. Valid values:

      • FirstLeg - Enable this leg type for the first non-pedestrian leg of the route.

      • LastLeg - Enable this leg type for the last non-pedestrian leg of the route.

      • EntireRoute - Enable this leg type for the entire route.

      • None - Disable this leg type entirely.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedModesWithStrings

      RouteIntermodalTaxiOptions.Builder excludedModesWithStrings(Collection<String> excludedModes)

      Excluded taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.

      Parameters:
      excludedModes - Excluded taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedModesWithStrings

      RouteIntermodalTaxiOptions.Builder excludedModesWithStrings(String... excludedModes)

      Excluded taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.

      Parameters:
      excludedModes - Excluded taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedModes

      Excluded taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.

      Parameters:
      excludedModes - Excluded taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedModes

      RouteIntermodalTaxiOptions.Builder excludedModes(RouteTaxiMode... excludedModes)

      Excluded taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.

      Parameters:
      excludedModes - Excluded taxi transport modes when calculating the route. By default, all transport modes are allowed. Cannot be used together with AllowedModes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.