public class DataSourceConfiguration
extends java.lang.Object
implements java.io.Serializable
Specifies the data storage option chosen for requesting Places.
By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.
Also, when using HERE as your data provider, you may not (a) use HERE Places
for Asset Management, or (b) select the Storage option for the
IntendedUse parameter when requesting Places in Japan. For more
information, see the AWS
Service Terms for Amazon Location Service.
| Constructor and Description |
|---|
DataSourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIntendedUse()
Specifies how the results of an operation will be stored by the caller.
|
int |
hashCode() |
void |
setIntendedUse(IntendedUse intendedUse)
Specifies how the results of an operation will be stored by the caller.
|
void |
setIntendedUse(java.lang.String intendedUse)
Specifies how the results of an operation will be stored by the caller.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DataSourceConfiguration |
withIntendedUse(IntendedUse intendedUse)
Specifies how the results of an operation will be stored by the caller.
|
DataSourceConfiguration |
withIntendedUse(java.lang.String intendedUse)
Specifies how the results of an operation will be stored by the caller.
|
public java.lang.String getIntendedUse()
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
Constraints:
Allowed Values: SingleUse, Storage
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
IntendedUsepublic void setIntendedUse(java.lang.String 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
Constraints:
Allowed Values: SingleUse, Storage
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
IntendedUsepublic DataSourceConfiguration withIntendedUse(java.lang.String 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
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SingleUse, Storage
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
IntendedUsepublic void setIntendedUse(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
Constraints:
Allowed Values: SingleUse, Storage
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
IntendedUsepublic DataSourceConfiguration withIntendedUse(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
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SingleUse, Storage
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
IntendedUsepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.