@Generated(value="software.amazon.awssdk:codegen") public final class DataSourceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
Specifies the data storage option chosen for requesting Places.
When using Amazon Location Places:
If using HERE Technologies as a data provider, you can't store results for locations in Japan by setting
IntendedUse to Storage. parameter.
Under the MobileAssetTracking or MobilAssetManagement pricing plan, you can't store results
from your place index resources by setting IntendedUse to Storage. This returns a
validation exception error.
For more information, see the AWS Service Terms for Amazon Location Service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataSourceConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataSourceConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IntendedUse |
intendedUse()
Specifies how the results of an operation will be stored by the caller.
|
String |
intendedUseAsString()
Specifies how the results of an operation will be stored by the caller.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataSourceConfiguration.Builder> |
serializableBuilderClass() |
DataSourceConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final IntendedUse intendedUse()
Specifies how the results of an operation will be stored by the caller.
Valid values include:
SingleUse specifies that the results won't be stored.
Storage specifies that the result can be cached or stored in a database.
Default value: SingleUse
If the service returns an enum value that is not available in the current SDK version, intendedUse will
return IntendedUse.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
intendedUseAsString().
Valid values include:
SingleUse specifies that the results won't be stored.
Storage specifies that the result can be cached or stored in a database.
Default value: SingleUse
IntendedUsepublic final String intendedUseAsString()
Specifies how the results of an operation will be stored by the caller.
Valid values include:
SingleUse specifies that the results won't be stored.
Storage specifies that the result can be cached or stored in a database.
Default value: SingleUse
If the service returns an enum value that is not available in the current SDK version, intendedUse will
return IntendedUse.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
intendedUseAsString().
Valid values include:
SingleUse specifies that the results won't be stored.
Storage specifies that the result can be cached or stored in a database.
Default value: SingleUse
IntendedUsepublic DataSourceConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>public static DataSourceConfiguration.Builder builder()
public static Class<? extends DataSourceConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.