@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()
A name for the 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 KMS customer managed key (CMK) that's used 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 IAM Identity Center (successor to 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)
A name for the 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 KMS customer managed key (CMK) that's used 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 IAM Identity Center (successor to 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)
A name for the 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 KMS customer managed key (CMK) that's used 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 IAM Identity Center (successor to Single Sign-On)
identity source.
|
CreateIndexRequest |
withUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
|
CreateIndexRequest |
withUserTokenConfigurations(UserTokenConfiguration... userTokenConfigurations)
The user token configuration.
|
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)
A name for the index.
name - A name for the index.public String getName()
A name for the index.
public CreateIndexRequest withName(String name)
A name for the index.
name - A name for the 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.
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.
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.
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.
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.
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.
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.
IndexEditionpublic 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 you use when you call the BatchPutDocument API 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 you use when you call the BatchPutDocument
API 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 you use when you call the BatchPutDocument API to
index documents from an Amazon S3 bucket.
BatchPutDocument API 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 you use when you call the BatchPutDocument API 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 you use when you call the BatchPutDocument
API to index documents from an Amazon S3 bucket.public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the KMS customer managed key (CMK) that's used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration - The identifier of the KMS customer managed key (CMK) that's used to encrypt data indexed by Amazon Kendra.
Amazon Kendra doesn't support asymmetric CMKs.public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
The identifier of the KMS customer managed key (CMK) that's used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
public CreateIndexRequest withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The identifier of the KMS customer managed key (CMK) that's used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration - The identifier of the KMS customer managed key (CMK) that's used 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 API 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 API 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 API with the same client token will create only one index.
CreateIndex API 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 API 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 API 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.
UserContextPolicypublic 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.
UserContextPolicypublic 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.
UserContextPolicypublic 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.
UserContextPolicypublic void setUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Enables fetching access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source. To configure this, see UserGroupResolutionConfiguration.
userGroupResolutionConfiguration - Enables fetching access levels of groups and users from an IAM Identity Center (successor to Single
Sign-On) identity source. To configure this, see UserGroupResolutionConfiguration.public UserGroupResolutionConfiguration getUserGroupResolutionConfiguration()
Enables fetching access levels of groups and users from an IAM Identity Center (successor to 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 IAM Identity Center (successor to Single Sign-On) identity source. To configure this, see UserGroupResolutionConfiguration.
userGroupResolutionConfiguration - Enables fetching access levels of groups and users from an IAM Identity Center (successor to Single
Sign-On) identity source. To configure this, see UserGroupResolutionConfiguration.public String toString()
toString in class ObjectObject.toString()public CreateIndexRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.