@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePlaceIndexRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePlaceIndexRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePlaceIndexRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreatePlaceIndexRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreatePlaceIndexRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDataSource()
Specifies the data provider of geospatial data.
|
DataSourceConfiguration |
getDataSourceConfiguration()
Specifies the data storage option for requesting Places.
|
String |
getDescription()
The optional description for the place index resource.
|
String |
getIndexName()
The name of the place index resource.
|
String |
getPricingPlan()
Specifies the pricing plan for your place index resource.
|
Map<String,String> |
getTags()
Applies one or more tags to the place index resource.
|
int |
hashCode() |
void |
setDataSource(String dataSource)
Specifies the data provider of geospatial data.
|
void |
setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
|
void |
setDescription(String description)
The optional description for the place index resource.
|
void |
setIndexName(String indexName)
The name of the place index resource.
|
void |
setPricingPlan(String pricingPlan)
Specifies the pricing plan for your place index resource.
|
void |
setTags(Map<String,String> tags)
Applies one or more tags to the place index resource.
|
String |
toString()
Returns a string representation of this object.
|
CreatePlaceIndexRequest |
withDataSource(String dataSource)
Specifies the data provider of geospatial data.
|
CreatePlaceIndexRequest |
withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
|
CreatePlaceIndexRequest |
withDescription(String description)
The optional description for the place index resource.
|
CreatePlaceIndexRequest |
withIndexName(String indexName)
The name of the place index resource.
|
CreatePlaceIndexRequest |
withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your place index resource.
|
CreatePlaceIndexRequest |
withPricingPlan(String pricingPlan)
Specifies the pricing plan for your place index resource.
|
CreatePlaceIndexRequest |
withTags(Map<String,String> tags)
Applies one or more tags to the place index resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDataSource(String dataSource)
Specifies the data provider of geospatial data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
will
return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page.
dataSource
- Specifies the data provider of geospatial data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
will return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page.
public String getDataSource()
Specifies the data provider of geospatial data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
will
return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
will return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page.
public CreatePlaceIndexRequest withDataSource(String dataSource)
Specifies the data provider of geospatial data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
will
return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page.
dataSource
- Specifies the data provider of geospatial data.
This field is case-sensitive. Enter the valid values as shown. For example, entering HERE
will return an error.
Valid values include:
Esri
Here
Place index resources using HERE as a data provider can't be used to store results for locations in Japan. For more information, see the AWS Service Terms for Amazon Location Service.
For additional details on data providers, see the Amazon Location Service data providers page.
public void setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
dataSourceConfiguration
- Specifies the data storage option for requesting Places.public DataSourceConfiguration getDataSourceConfiguration()
Specifies the data storage option for requesting Places.
public CreatePlaceIndexRequest withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration)
Specifies the data storage option for requesting Places.
dataSourceConfiguration
- Specifies the data storage option for requesting Places.public void setDescription(String description)
The optional description for the place index resource.
description
- The optional description for the place index resource.public String getDescription()
The optional description for the place index resource.
public CreatePlaceIndexRequest withDescription(String description)
The optional description for the place index resource.
description
- The optional description for the place index resource.public void setIndexName(String indexName)
The name of the place index resource.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
indexName
- The name of the place index resource.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
public String getIndexName()
The name of the place index resource.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
public CreatePlaceIndexRequest withIndexName(String indexName)
The name of the place index resource.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
indexName
- The name of the place index resource.
Requirements:
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique place index resource name.
No spaces allowed. For example, ExamplePlaceIndex
.
public void setPricingPlan(String pricingPlan)
Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
pricingPlan
- Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public String getPricingPlan()
Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public CreatePlaceIndexRequest withPricingPlan(String pricingPlan)
Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
pricingPlan
- Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public CreatePlaceIndexRequest withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
pricingPlan
- Specifies the pricing plan for your place index resource.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public Map<String,String> getTags()
Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
public void setTags(Map<String,String> tags)
Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
tags
- Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify,
search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
public CreatePlaceIndexRequest withTags(Map<String,String> tags)
Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
tags
- Applies one or more tags to the place index resource. A tag is a key-value pair helps manage, identify,
search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
public CreatePlaceIndexRequest addTagsEntry(String key, String value)
public CreatePlaceIndexRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePlaceIndexRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()