Class DataSourceConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.location.model.DataSourceConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
@Generated("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
IntendedUsetoStorage. parameter. -
Under the
MobileAssetTrackingorMobilAssetManagementpricing plan, you can't store results from your place index resources by settingIntendedUsetoStorage. This returns a validation exception error.
For more information, see the AWS Service Terms for Amazon Location Service.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSourceConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntendedUseintendedUse()Specifies how the results of an operation will be stored by the caller.StringintendedUseAsString()Specifies how the results of an operation will be stored by the caller.List<SdkField<?>>sdkFields()static Class<? extends DataSourceConfiguration.Builder>serializableBuilderClass()DataSourceConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
intendedUse
public final IntendedUse intendedUse()
Specifies how the results of an operation will be stored by the caller.
Valid values include:
-
SingleUsespecifies that the results won't be stored. -
Storagespecifies that the result can be cached or stored in a database.
Default value:
SingleUseIf the service returns an enum value that is not available in the current SDK version,
intendedUsewill returnIntendedUse.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromintendedUseAsString().- Returns:
- Specifies how the results of an operation will be stored by the caller.
Valid values include:
-
SingleUsespecifies that the results won't be stored. -
Storagespecifies that the result can be cached or stored in a database.
Default value:
SingleUse -
- See Also:
IntendedUse
-
-
intendedUseAsString
public final String intendedUseAsString()
Specifies how the results of an operation will be stored by the caller.
Valid values include:
-
SingleUsespecifies that the results won't be stored. -
Storagespecifies that the result can be cached or stored in a database.
Default value:
SingleUseIf the service returns an enum value that is not available in the current SDK version,
intendedUsewill returnIntendedUse.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromintendedUseAsString().- Returns:
- Specifies how the results of an operation will be stored by the caller.
Valid values include:
-
SingleUsespecifies that the results won't be stored. -
Storagespecifies that the result can be cached or stored in a database.
Default value:
SingleUse -
- See Also:
IntendedUse
-
-
toBuilder
public DataSourceConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceConfiguration.Builder,DataSourceConfiguration>
-
builder
public static DataSourceConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-