Class DescribeRouteCalculatorResponse

    • Method Detail

      • calculatorName

        public final String calculatorName()

        The name of the route calculator resource being described.

        Returns:
        The name of the route calculator resource being described.
      • calculatorArn

        public final String calculatorArn()

        The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN when you specify a resource across Amazon Web Services.

        • Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator

        Returns:
        The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN when you specify a resource across Amazon Web Services.

        • Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator

      • pricingPlan

        @Deprecated
        public final PricingPlan pricingPlan()
        Deprecated.
        Deprecated. Always returns RequestBasedUsage.

        Always returns RequestBasedUsage.

        If the service returns an enum value that is not available in the current SDK version, pricingPlan will return PricingPlan.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from pricingPlanAsString().

        Returns:
        Always returns RequestBasedUsage.
        See Also:
        PricingPlan
      • pricingPlanAsString

        @Deprecated
        public final String pricingPlanAsString()
        Deprecated.
        Deprecated. Always returns RequestBasedUsage.

        Always returns RequestBasedUsage.

        If the service returns an enum value that is not available in the current SDK version, pricingPlan will return PricingPlan.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from pricingPlanAsString().

        Returns:
        Always returns RequestBasedUsage.
        See Also:
        PricingPlan
      • description

        public final String description()

        The optional description of the route calculator resource.

        Returns:
        The optional description of the route calculator resource.
      • createTime

        public final Instant createTime()

        The timestamp when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, 2020–07-2T12:15:20.000Z+01:00

        Returns:
        The timestamp when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, 2020–07-2T12:15:20.000Z+01:00

      • updateTime

        public final Instant updateTime()

        The timestamp when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, 2020–07-2T12:15:20.000Z+01:00

        Returns:
        The timestamp when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, 2020–07-2T12:15:20.000Z+01:00

      • dataSource

        public final String dataSource()

        The data provider of traffic and road network data. Indicates one of the available providers:

        • Esri

        • Grab

        • Here

        For more information about data providers, see Amazon Location Service data providers.

        Returns:
        The data provider of traffic and road network data. Indicates one of the available providers:

        • Esri

        • Grab

        • Here

        For more information about data providers, see Amazon Location Service data providers.

      • hasTags

        public final boolean hasTags()
        For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • tags

        public final Map<String,​String> tags()

        Tags associated with route calculator resource.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTags() method.

        Returns:
        Tags associated with route calculator resource.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object