@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIndexRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateIndexRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateIndexRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
A token that you provide to identify the request to create an index.
|
String |
getDescription()
A description for the index.
|
String |
getEdition()
The Amazon Kendra edition to use for the index.
|
String |
getName()
The name for the new index.
|
String |
getRoleArn()
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
List<Tag> |
getTags()
A list of key-value pairs that identify the index.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A token that you provide to identify the request to create an index.
|
void |
setDescription(String description)
A description for the index.
|
void |
setEdition(String edition)
The Amazon Kendra edition to use for the index.
|
void |
setName(String name)
The name for the new index.
|
void |
setRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
void |
setTags(Collection<Tag> tags)
A list of key-value pairs that identify the index.
|
String |
toString()
Returns a string representation of this object.
|
CreateIndexRequest |
withClientToken(String clientToken)
A token that you provide to identify the request to create an index.
|
CreateIndexRequest |
withDescription(String description)
A description for the index.
|
CreateIndexRequest |
withEdition(IndexEdition edition)
The Amazon Kendra edition to use for the index.
|
CreateIndexRequest |
withEdition(String edition)
The Amazon Kendra edition to use for the index.
|
CreateIndexRequest |
withName(String name)
The name for the new index.
|
CreateIndexRequest |
withRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
CreateIndexRequest |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
CreateIndexRequest |
withTags(Collection<Tag> tags)
A list of key-value pairs that identify the index.
|
CreateIndexRequest |
withTags(Tag... tags)
A list of key-value pairs that identify the index.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setName(String name)
The name for the new index.
name - The name for the new index.public String getName()
The name for the new index.
public CreateIndexRequest withName(String name)
The name for the new index.
name - The name for the new index.public void setEdition(String edition)
The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended for
development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production databases.
Once you set the edition for an index, it can't be changed.
edition - The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended
for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production
databases. Once you set the edition for an index, it can't be changed.IndexEditionpublic String getEdition()
The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended for
development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production databases.
Once you set the edition for an index, it can't be changed.
DEVELOPER_EDITION for indexes
intended for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your
production databases. Once you set the edition for an index, it can't be changed.IndexEditionpublic CreateIndexRequest withEdition(String edition)
The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended for
development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production databases.
Once you set the edition for an index, it can't be changed.
edition - The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended
for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production
databases. Once you set the edition for an index, it can't be changed.IndexEditionpublic CreateIndexRequest withEdition(IndexEdition edition)
The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended for
development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production databases.
Once you set the edition for an index, it can't be changed.
edition - The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended
for development, testing, or proof of concept. Use ENTERPRISE_EDITION for your production
databases. Once you set the edition for an index, it can't be changed.IndexEditionpublic void setRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also
the role used when you use the BatchPutDocument operation to index documents from an Amazon S3
bucket.
roleArn - An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This
is also the role used when you use the BatchPutDocument operation to index documents from an
Amazon S3 bucket.public String getRoleArn()
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also
the role used when you use the BatchPutDocument operation to index documents from an Amazon S3
bucket.
BatchPutDocument operation to index documents from an
Amazon S3 bucket.public CreateIndexRequest withRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also
the role used when you use the BatchPutDocument operation to index documents from an Amazon S3
bucket.
roleArn - An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This
is also the role used when you use the BatchPutDocument operation to index documents from an
Amazon S3 bucket.public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration - The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
Amazon Kendra doesn't support asymmetric CMKs.public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
public CreateIndexRequest withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration - The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
Amazon Kendra doesn't support asymmetric CMKs.public void setDescription(String description)
A description for the index.
description - A description for the index.public String getDescription()
A description for the index.
public CreateIndexRequest withDescription(String description)
A description for the index.
description - A description for the index.public void setClientToken(String clientToken)
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex operation with the same client token will create only one index.”
clientToken - A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex operation with the same client token will create only one index.”public String getClientToken()
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex operation with the same client token will create only one index.”
CreateIndex operation with the same client token will create only one index.”public CreateIndexRequest withClientToken(String clientToken)
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex operation with the same client token will create only one index.”
clientToken - A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndex operation with the same client token will create only one index.”public List<Tag> getTags()
A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.
public void setTags(Collection<Tag> tags)
A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.
tags - A list of key-value pairs that identify the index. You can use the tags to identify and organize your
resources and to control access to resources.public CreateIndexRequest withTags(Tag... tags)
A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - A list of key-value pairs that identify the index. You can use the tags to identify and organize your
resources and to control access to resources.public CreateIndexRequest withTags(Collection<Tag> tags)
A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.
tags - A list of key-value pairs that identify the index. You can use the tags to identify and organize your
resources and to control access to resources.public String toString()
toString in class ObjectObject.toString()public CreateIndexRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.