@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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 Identity and Access Management(IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch
logs and metrics.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The identifier of the KMScustomer 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.
|
String |
getUserContextPolicy()
The user context policy.
|
UserGroupResolutionConfiguration |
getUserGroupResolutionConfiguration()
Enables fetching access levels of groups and users from an AWS Single Sign-On identity source.
|
List<UserTokenConfiguration> |
getUserTokenConfigurations()
The user token configuration.
|
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 Identity and Access Management(IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch
logs and metrics.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the KMScustomer 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.
|
void |
setUserContextPolicy(String userContextPolicy)
The user context policy.
|
void |
setUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an AWS Single Sign-On identity source.
|
void |
setUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
|
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 Identity and Access Management(IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch
logs and metrics.
|
CreateIndexRequest |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the KMScustomer 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.
|
CreateIndexRequest |
withUserContextPolicy(String userContextPolicy)
The user context policy.
|
CreateIndexRequest |
withUserContextPolicy(UserContextPolicy userContextPolicy)
The user context policy.
|
CreateIndexRequest |
withUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an AWS Single Sign-On identity source.
|
CreateIndexRequest |
withUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
|
CreateIndexRequest |
withUserTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration.
|
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 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.
The Edition
parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
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.
The Edition
parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
IndexEdition
public 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.
The Edition
parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
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.
The Edition
parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
IndexEdition
public 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.
The Edition
parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
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.
The Edition
parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
IndexEdition
public 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.
The Edition
parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
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.
The Edition
parameter is optional. If you don't supply a value, the default is
ENTERPRISE_EDITION
.
For more information on quota limits for enterprise and developer editions, see Quotas.
IndexEdition
public void setRoleArn(String roleArn)
An Identity and Access Management(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 Identity and Access Management(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 Identity and Access Management(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 Identity and Access Management(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 Identity and Access Management(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 KMScustomer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration
- The identifier of the KMScustomer 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 KMScustomer 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 KMScustomer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration
- The identifier of the KMScustomer 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 List<UserTokenConfiguration> getUserTokenConfigurations()
The user token configuration.
public void setUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
userTokenConfigurations
- The user token configuration.public CreateIndexRequest withUserTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration.
NOTE: This method appends the values to the existing list (if any). Use
setUserTokenConfigurations(java.util.Collection)
or
withUserTokenConfigurations(java.util.Collection)
if you want to override the existing values.
userTokenConfigurations
- The user token configuration.public CreateIndexRequest withUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
userTokenConfigurations
- The user token configuration.public void setUserContextPolicy(String userContextPolicy)
The user context policy.
All indexed content is searchable and displayable for all users. If you want to filter search results on user
context, you can use the attribute filters of _user_id
and _group_ids
or you can
provide user and group information in UserContext
.
Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
userContextPolicy
- The user context policy.
All indexed content is searchable and displayable for all users. If you want to filter search results on
user context, you can use the attribute filters of _user_id
and _group_ids
or
you can provide user and group information in UserContext
.
Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
UserContextPolicy
public String getUserContextPolicy()
The user context policy.
All indexed content is searchable and displayable for all users. If you want to filter search results on user
context, you can use the attribute filters of _user_id
and _group_ids
or you can
provide user and group information in UserContext
.
Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
All indexed content is searchable and displayable for all users. If you want to filter search results on
user context, you can use the attribute filters of _user_id
and _group_ids
or
you can provide user and group information in UserContext
.
Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
UserContextPolicy
public CreateIndexRequest withUserContextPolicy(String userContextPolicy)
The user context policy.
All indexed content is searchable and displayable for all users. If you want to filter search results on user
context, you can use the attribute filters of _user_id
and _group_ids
or you can
provide user and group information in UserContext
.
Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
userContextPolicy
- The user context policy.
All indexed content is searchable and displayable for all users. If you want to filter search results on
user context, you can use the attribute filters of _user_id
and _group_ids
or
you can provide user and group information in UserContext
.
Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
UserContextPolicy
public CreateIndexRequest withUserContextPolicy(UserContextPolicy userContextPolicy)
The user context policy.
All indexed content is searchable and displayable for all users. If you want to filter search results on user
context, you can use the attribute filters of _user_id
and _group_ids
or you can
provide user and group information in UserContext
.
Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
userContextPolicy
- The user context policy.
All indexed content is searchable and displayable for all users. If you want to filter search results on
user context, you can use the attribute filters of _user_id
and _group_ids
or
you can provide user and group information in UserContext
.
Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
UserContextPolicy
public void setUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see UserGroupResolutionConfiguration.
userGroupResolutionConfiguration
- Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To
configure this, see UserGroupResolutionConfiguration.public UserGroupResolutionConfiguration getUserGroupResolutionConfiguration()
Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see UserGroupResolutionConfiguration.
public CreateIndexRequest withUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see UserGroupResolutionConfiguration.
userGroupResolutionConfiguration
- Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To
configure this, see UserGroupResolutionConfiguration.public String toString()
toString
in class Object
Object.toString()
public CreateIndexRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()