@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 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 to update.
|
String |
getId()
The identifier of the index to update.
|
String |
getName()
The name of the index to update.
|
String |
getRoleArn()
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
|
String |
getUserContextPolicy()
The user user token context policy.
|
List<UserTokenConfiguration> |
getUserTokenConfigurations()
The user token configuration.
|
int |
hashCode() |
void |
setCapacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional 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 to update.
|
void |
setId(String id)
The identifier of the index to update.
|
void |
setName(String name)
The name of the index to update.
|
void |
setRoleArn(String roleArn)
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
|
void |
setUserContextPolicy(String userContextPolicy)
The user user token context policy.
|
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 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 to update.
|
UpdateIndexRequest |
withDocumentMetadataConfigurationUpdates(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates)
The document metadata to update.
|
UpdateIndexRequest |
withId(String id)
The identifier of the index to update.
|
UpdateIndexRequest |
withName(String name)
The name of the index to update.
|
UpdateIndexRequest |
withRoleArn(String roleArn)
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
|
UpdateIndexRequest |
withUserContextPolicy(String userContextPolicy)
The user user token context policy.
|
UpdateIndexRequest |
withUserContextPolicy(UserContextPolicy userContextPolicy)
The user user token context policy.
|
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 to update.
id
- The identifier of the index to update.public String getId()
The identifier of the index to update.
public UpdateIndexRequest withId(String id)
The identifier of the index to update.
id
- The identifier of the index to update.public void setName(String name)
The name of the index to update.
name
- The name of the index to update.public String getName()
The name of the index to update.
public UpdateIndexRequest withName(String name)
The name of the index to update.
name
- The name of the index to update.public void setRoleArn(String roleArn)
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
roleArn
- A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.public String getRoleArn()
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
public UpdateIndexRequest withRoleArn(String roleArn)
A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.
roleArn
- A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.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 to update.
public void setDocumentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)
The document metadata to update.
documentMetadataConfigurationUpdates
- The document metadata to update.public UpdateIndexRequest withDocumentMetadataConfigurationUpdates(DocumentMetadataConfiguration... documentMetadataConfigurationUpdates)
The document metadata to update.
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 to update.public UpdateIndexRequest withDocumentMetadataConfigurationUpdates(Collection<DocumentMetadataConfiguration> documentMetadataConfigurationUpdates)
The document metadata to update.
documentMetadataConfigurationUpdates
- The document metadata to update.public void setCapacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional 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.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
capacityUnits
- Sets the number of additional 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.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
public CapacityUnitsConfiguration getCapacityUnits()
Sets the number of additional 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.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
public UpdateIndexRequest withCapacityUnits(CapacityUnitsConfiguration capacityUnits)
Sets the number of additional 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.
If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.
capacityUnits
- Sets the number of additional 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.
If you are using extra storage units, you can't reduce the storage capacity below that 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 user token context policy.
userContextPolicy
- The user user token context policy.UserContextPolicy
public String getUserContextPolicy()
The user user token context policy.
UserContextPolicy
public UpdateIndexRequest withUserContextPolicy(String userContextPolicy)
The user user token context policy.
userContextPolicy
- The user user token context policy.UserContextPolicy
public UpdateIndexRequest withUserContextPolicy(UserContextPolicy userContextPolicy)
The user user token context policy.
userContextPolicy
- The user user token context policy.UserContextPolicy
public String toString()
toString
in class Object
Object.toString()
public UpdateIndexRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()