@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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 |
|---|---|
DataSourceConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getIntendedUse()
Specifies how the results of an operation will be stored by the caller.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setIntendedUse(String intendedUse)
Specifies how the results of an operation will be stored by the caller.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceConfiguration |
withIntendedUse(IntendedUse intendedUse)
Specifies how the results of an operation will be stored by the caller.
|
DataSourceConfiguration |
withIntendedUse(String intendedUse)
Specifies how the results of an operation will be stored by the caller.
|
public void setIntendedUse(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
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 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
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(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
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
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 String toString()
toString in class ObjectObject.toString()public DataSourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.