@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateIndexRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateIndexRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateIndexRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CapacityUnitsConfiguration |
getCapacityUnits()
Sets the number of additional document storage and query capacity units that should be used by the index.
|
String |
getDescription()
A new description for the index.
|
List<DocumentMetadataConfiguration> |
getDocumentMetadataConfigurationUpdates()
The document metadata configuration you want to update for the index.
|
String |
getId()
The identifier of the index you want to update.
|
String |
getName()
A new name for the index.
|
String |
getRoleArn()
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs
and metrics.
|
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 |
setCapacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional document storage and query capacity units that should be used by the index.
|
void |
setDescription(String description)
A new description for the index.
|
void |
setDocumentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index.
|
void |
setId(String id)
The identifier of the index you want to update.
|
void |
setName(String name)
A new name for the index.
|
void |
setRoleArn(String roleArn)
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs
and metrics.
|
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.
|
UpdateIndexRequest |
withCapacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional document storage and query capacity units that should be used by the index.
|
UpdateIndexRequest |
withDescription(String description)
A new description for the index.
|
UpdateIndexRequest |
withDocumentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index.
|
UpdateIndexRequest |
withDocumentMetadataConfigurationUpdates(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index.
|
UpdateIndexRequest |
withId(String id)
The identifier of the index you want to update.
|
UpdateIndexRequest |
withName(String name)
A new name for the index.
|
UpdateIndexRequest |
withRoleArn(String roleArn)
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs
and metrics.
|
UpdateIndexRequest |
withUserContextPolicy(String userContextPolicy)
The user context policy.
|
UpdateIndexRequest |
withUserContextPolicy(UserContextPolicy userContextPolicy)
The user context policy.
|
UpdateIndexRequest |
withUserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)
Gets users and groups from IAM Identity Center identity source.
|
UpdateIndexRequest |
withUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
|
UpdateIndexRequest |
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 setId(String id)
The identifier of the index you want to update.
id
- The identifier of the index you want to update.public String getId()
The identifier of the index you want to update.
public UpdateIndexRequest withId(String id)
The identifier of the index you want to update.
id
- The identifier of the index you want to update.public void setName(String name)
A new name for the index.
name
- A new name for the index.public String getName()
A new name for the index.
public UpdateIndexRequest withName(String name)
A new name for the index.
name
- A new name for the index.public void setRoleArn(String roleArn)
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
roleArn
- An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon
CloudWatch logs and metrics.public String getRoleArn()
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
public UpdateIndexRequest withRoleArn(String roleArn)
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
roleArn
- An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon
CloudWatch logs and metrics.public void setDescription(String description)
A new description for the index.
description
- A new description for the index.public String getDescription()
A new description for the index.
public UpdateIndexRequest withDescription(String description)
A new description for the index.
description
- A new description for the index.public List<DocumentMetadataConfiguration> getDocumentMetadataConfigurationUpdates()
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
public void setDocumentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
documentMetadataConfigurationUpdates
- The document metadata configuration you want to update for the index. Document metadata are fields or
attributes associated with your documents. For example, the company department name associated with each
document.public UpdateIndexRequest withDocumentMetadataConfigurationUpdates(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
NOTE: This method appends the values to the existing list (if any). Use
setDocumentMetadataConfigurationUpdates(java.util.Collection)
or
withDocumentMetadataConfigurationUpdates(java.util.Collection)
if you want to override the existing
values.
documentMetadataConfigurationUpdates
- The document metadata configuration you want to update for the index. Document metadata are fields or
attributes associated with your documents. For example, the company department name associated with each
document.public UpdateIndexRequest withDocumentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
documentMetadataConfigurationUpdates
- The document metadata configuration you want to update for the index. Document metadata are fields or
attributes associated with your documents. For example, the company department name associated with each
document.public void setCapacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
capacityUnits
- Sets the number of additional document storage and query capacity units that should be used by the index.
You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
public CapacityUnitsConfiguration getCapacityUnits()
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
public UpdateIndexRequest withCapacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
capacityUnits
- Sets the number of additional document storage and query capacity units that should be used by the index.
You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
public List<UserTokenConfiguration> getUserTokenConfigurations()
The user token configuration.
public void setUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
userTokenConfigurations
- The user token configuration.public UpdateIndexRequest 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 UpdateIndexRequest withUserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)
The user token configuration.
userTokenConfigurations
- The user token configuration.public void setUserContextPolicy(String userContextPolicy)
The user context policy.
userContextPolicy
- The user context policy.UserContextPolicy
public String getUserContextPolicy()
The user context policy.
UserContextPolicy
public UpdateIndexRequest withUserContextPolicy(String userContextPolicy)
The user context policy.
userContextPolicy
- The user context policy.UserContextPolicy
public UpdateIndexRequest withUserContextPolicy(UserContextPolicy userContextPolicy)
The user context policy.
userContextPolicy
- The user context policy.UserContextPolicy
public 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 UpdateIndexRequest 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 Object
Object.toString()
public UpdateIndexRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()