/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.geo.model; import java.io.Serializable; /** *
* 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. *
** 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
*/
private 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
*
* @return
* 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
*
* 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
*
* @param 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
*
* 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
*
* @param 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
*
* 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
*
* @param 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
*
* 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
*
* @param 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
*