@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) |
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.
|
int |
hashCode() |
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.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
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 String toString()
toString
in class Object
Object.toString()
public UpdateIndexRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.