@Generated(value="software.amazon.awssdk:codegen") public final class DescribeRouteCalculatorResponse extends LocationResponse implements ToCopyableBuilder<DescribeRouteCalculatorResponse.Builder,DescribeRouteCalculatorResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeRouteCalculatorResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeRouteCalculatorResponse.Builder |
builder() |
String |
calculatorArn()
The Amazon Resource Name (ARN) for the Route calculator resource.
|
String |
calculatorName()
The name of the route calculator resource being described.
|
Instant |
createTime()
The timestamp when the route calculator resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
String |
dataSource()
The data provider of traffic and road network data.
|
String |
description()
The optional description of the route calculator resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
PricingPlan |
pricingPlan()
The pricing plan selected for the specified route calculator resource.
|
String |
pricingPlanAsString()
The pricing plan selected for the specified route calculator resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeRouteCalculatorResponse.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
Tags associated with route calculator resource.
|
DescribeRouteCalculatorResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateTime()
The timestamp when the route calculator resource was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String calculatorArn()
The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN when you specify a resource across AWS.
Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator
Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator
public final String calculatorName()
The name of the route calculator resource being described.
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
YYYY-MM-DDThh:mm:ss.sssZ.
For example, 2020–07-2T12:15:20.000Z+01:00
public final String dataSource()
The data provider of traffic and road network data. Indicates one of the available providers:
Esri
Here
For more information about data providers, see Amazon Location Service data providers.
Esri
Here
For more information about data providers, see Amazon Location Service data providers.
public final String description()
The optional description of the route calculator resource.
public final PricingPlan pricingPlan()
The pricing plan selected for the specified route calculator resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
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().
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
PricingPlanpublic final String pricingPlanAsString()
The pricing plan selected for the specified route calculator resource.
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
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().
For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing.
PricingPlanpublic final boolean hasTags()
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.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.
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
YYYY-MM-DDThh:mm:ss.sssZ.
For example, 2020–07-2T12:15:20.000Z+01:00
public DescribeRouteCalculatorResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeRouteCalculatorResponse.Builder,DescribeRouteCalculatorResponse>toBuilder in class AwsResponsepublic static DescribeRouteCalculatorResponse.Builder builder()
public static Class<? extends DescribeRouteCalculatorResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.