/* * Copyright 2018-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.location.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribePlaceIndexResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The timestamp for when the place index resource was created in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. *

*/ private java.util.Date createTime; /** *

* The data provider of geospatial data. Values can be one of the following: *

* *

* For more information about data providers, see Amazon Location * Service data providers. *

*/ private String dataSource; /** *

* The specified data storage option for requesting Places. *

*/ private DataSourceConfiguration dataSourceConfiguration; /** *

* The optional description for the place index resource. *

*/ private String description; /** *

* The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across Amazon Web * Services. *

* */ private String indexArn; /** *

* The name of the place index resource being described. *

*/ private String indexName; /** *

* No longer used. Always returns RequestBasedUsage. *

*/ @Deprecated private String pricingPlan; /** *

* Tags associated with place index resource. *

*/ private java.util.Map tags; /** *

* The timestamp for when the place index resource was last updated in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. *

*/ private java.util.Date updateTime; /** *

* The timestamp for when the place index resource was created in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. *

* * @param createTime * The timestamp for when the place index resource was created in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. */ public void setCreateTime(java.util.Date createTime) { this.createTime = createTime; } /** *

* The timestamp for when the place index resource was created in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. *

* * @return The timestamp for when the place index resource was created in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. */ public java.util.Date getCreateTime() { return this.createTime; } /** *

* The timestamp for when the place index resource was created in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. *

* * @param createTime * The timestamp for when the place index resource was created in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePlaceIndexResult withCreateTime(java.util.Date createTime) { setCreateTime(createTime); return this; } /** *

* The data provider of geospatial data. Values can be one of the following: *

* *

* For more information about data providers, see Amazon Location * Service data providers. *

* * @param dataSource * The data provider of geospatial data. Values can be one of the following:

* *

* For more information about data providers, see Amazon * Location Service data providers. */ public void setDataSource(String dataSource) { this.dataSource = dataSource; } /** *

* The data provider of geospatial data. Values can be one of the following: *

* *

* For more information about data providers, see Amazon Location * Service data providers. *

* * @return The data provider of geospatial data. Values can be one of the following:

* *

* For more information about data providers, see Amazon * Location Service data providers. */ public String getDataSource() { return this.dataSource; } /** *

* The data provider of geospatial data. Values can be one of the following: *

* *

* For more information about data providers, see Amazon Location * Service data providers. *

* * @param dataSource * The data provider of geospatial data. Values can be one of the following:

* *

* For more information about data providers, see Amazon * Location Service data providers. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePlaceIndexResult withDataSource(String dataSource) { setDataSource(dataSource); return this; } /** *

* The specified data storage option for requesting Places. *

* * @param dataSourceConfiguration * The specified data storage option for requesting Places. */ public void setDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration) { this.dataSourceConfiguration = dataSourceConfiguration; } /** *

* The specified data storage option for requesting Places. *

* * @return The specified data storage option for requesting Places. */ public DataSourceConfiguration getDataSourceConfiguration() { return this.dataSourceConfiguration; } /** *

* The specified data storage option for requesting Places. *

* * @param dataSourceConfiguration * The specified data storage option for requesting Places. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePlaceIndexResult withDataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration) { setDataSourceConfiguration(dataSourceConfiguration); return this; } /** *

* The optional description for the place index resource. *

* * @param description * The optional description for the place index resource. */ public void setDescription(String description) { this.description = description; } /** *

* The optional description for the place index resource. *

* * @return The optional description for the place index resource. */ public String getDescription() { return this.description; } /** *

* The optional description for the place index resource. *

* * @param description * The optional description for the place index resource. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePlaceIndexResult withDescription(String description) { setDescription(description); return this; } /** *

* The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across Amazon Web * Services. *

* * * @param indexArn * The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across Amazon Web * Services.

*