@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()
 A name for the index. | 
| String | getRoleArn()
 The Amazon Resource Name (ARN) of an IAM role with permission 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 or categorize the index. | 
| String | getUserContextPolicy()
 The user context policy. | 
| UserGroupResolutionConfiguration | getUserGroupResolutionConfiguration()
 Gets users and groups from IAM Identity Center 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)
 The Amazon Resource Name (ARN) of an IAM role with permission 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 or categorize the index. | 
| void | setUserContextPolicy(String userContextPolicy)
 The user context policy. | 
| void | setUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
 Gets users and groups from IAM Identity Center 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)
 The Amazon Resource Name (ARN) of an IAM role with permission 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 or categorize the index. | 
| CreateIndexRequest | withTags(Tag... tags)
 A list of key-value pairs that identify or categorize the index. | 
| CreateIndexRequest | withUserContextPolicy(String userContextPolicy)
 The user context policy. | 
| CreateIndexRequest | withUserContextPolicy(UserContextPolicy userContextPolicy)
 The user context policy. | 
| CreateIndexRequest | withUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
 Gets users and groups from IAM Identity Center 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, 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 production. 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 production. 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 production. 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
         production. 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 production. 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 production. 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 production. 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 production. 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)
The Amazon Resource Name (ARN) of an IAM role with permission to access your Amazon CloudWatch logs and metrics. For more information, see IAM access roles for Amazon Kendra.
roleArn - The Amazon Resource Name (ARN) of an IAM role with permission to access your Amazon CloudWatch logs and
        metrics. For more information, see IAM access roles for Amazon Kendra.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role with permission to access your Amazon CloudWatch logs and metrics. For more information, see IAM access roles for Amazon Kendra.
public CreateIndexRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access your Amazon CloudWatch logs and metrics. For more information, see IAM access roles for Amazon Kendra.
roleArn - The Amazon Resource Name (ARN) of an IAM role with permission to access your Amazon CloudWatch logs and
        metrics. For more information, see IAM access roles for Amazon Kendra.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 or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
public void setTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the index. You can also use tags to help control
        access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of
        the following symbols: _ . : / = + - @.public CreateIndexRequest withTags(Tag... tags)
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
 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 or categorize the index. You can also use tags to help control
        access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of
        the following symbols: _ . : / = + - @.public CreateIndexRequest withTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the index. You can also use tags to help control
        access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of
        the following symbols: _ . : / = + - @.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)
Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
userGroupResolutionConfiguration - Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are
        filtered based on the user or their group access to documents.public UserGroupResolutionConfiguration getUserGroupResolutionConfiguration()
Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
public CreateIndexRequest withUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
userGroupResolutionConfiguration - Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are
        filtered based on the user or their group access to documents.public String toString()
toString in class ObjectObject.toString()public CreateIndexRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()