@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateQuerySuggestionsBlockListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateQuerySuggestionsBlockListRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateQuerySuggestionsBlockListRequest |
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 block list.
|
String |
getId()
The identifier of the block list you want to update.
|
String |
getIndexId()
The identifier of the index for the block list.
|
String |
getName()
A new name for the block list.
|
String |
getRoleArn()
The IAM (Identity and Access Management) role used to access the block list text file in S3.
|
S3Path |
getSourceS3Path()
The S3 path where your block list text file sits in S3.
|
int |
hashCode() |
void |
setDescription(String description)
A new description for the block list.
|
void |
setId(String id)
The identifier of the block list you want to update.
|
void |
setIndexId(String indexId)
The identifier of the index for the block list.
|
void |
setName(String name)
A new name for the block list.
|
void |
setRoleArn(String roleArn)
The IAM (Identity and Access Management) role used to access the block list text file in S3.
|
void |
setSourceS3Path(S3Path sourceS3Path)
The S3 path where your block list text file sits in S3.
|
String |
toString()
Returns a string representation of this object.
|
UpdateQuerySuggestionsBlockListRequest |
withDescription(String description)
A new description for the block list.
|
UpdateQuerySuggestionsBlockListRequest |
withId(String id)
The identifier of the block list you want to update.
|
UpdateQuerySuggestionsBlockListRequest |
withIndexId(String indexId)
The identifier of the index for the block list.
|
UpdateQuerySuggestionsBlockListRequest |
withName(String name)
A new name for the block list.
|
UpdateQuerySuggestionsBlockListRequest |
withRoleArn(String roleArn)
The IAM (Identity and Access Management) role used to access the block list text file in S3.
|
UpdateQuerySuggestionsBlockListRequest |
withSourceS3Path(S3Path sourceS3Path)
The S3 path where your block list text file sits in S3.
|
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 UpdateQuerySuggestionsBlockListRequest()
public void setIndexId(String indexId)
The identifier of the index for the block list.
indexId
- The identifier of the index for the block list.public String getIndexId()
The identifier of the index for the block list.
public UpdateQuerySuggestionsBlockListRequest withIndexId(String indexId)
The identifier of the index for the block list.
indexId
- The identifier of the index for the block list.public void setId(String id)
The identifier of the block list you want to update.
id
- The identifier of the block list you want to update.public String getId()
The identifier of the block list you want to update.
public UpdateQuerySuggestionsBlockListRequest withId(String id)
The identifier of the block list you want to update.
id
- The identifier of the block list you want to update.public void setName(String name)
A new name for the block list.
name
- A new name for the block list.public String getName()
A new name for the block list.
public UpdateQuerySuggestionsBlockListRequest withName(String name)
A new name for the block list.
name
- A new name for the block list.public void setDescription(String description)
A new description for the block list.
description
- A new description for the block list.public String getDescription()
A new description for the block list.
public UpdateQuerySuggestionsBlockListRequest withDescription(String description)
A new description for the block list.
description
- A new description for the block list.public void setSourceS3Path(S3Path sourceS3Path)
The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra
reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You
need to call the UpdateQuerySuggestionsBlockList
API to refresh you block list.
If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
sourceS3Path
- The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon
Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block
list. You need to call the UpdateQuerySuggestionsBlockList
API to refresh you block list.
If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
public S3Path getSourceS3Path()
The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra
reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You
need to call the UpdateQuerySuggestionsBlockList
API to refresh you block list.
If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
If you update your block list and provide the same path to the block list text file in S3, then Amazon
Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your
block list. You need to call the UpdateQuerySuggestionsBlockList
API to refresh you block
list.
If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
public UpdateQuerySuggestionsBlockListRequest withSourceS3Path(S3Path sourceS3Path)
The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra
reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You
need to call the UpdateQuerySuggestionsBlockList
API to refresh you block list.
If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
sourceS3Path
- The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon
Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block
list. You need to call the UpdateQuerySuggestionsBlockList
API to refresh you block list.
If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
public void setRoleArn(String roleArn)
The IAM (Identity and Access Management) role used to access the block list text file in S3.
roleArn
- The IAM (Identity and Access Management) role used to access the block list text file in S3.public String getRoleArn()
The IAM (Identity and Access Management) role used to access the block list text file in S3.
public UpdateQuerySuggestionsBlockListRequest withRoleArn(String roleArn)
The IAM (Identity and Access Management) role used to access the block list text file in S3.
roleArn
- The IAM (Identity and Access Management) role used to access the block list text file in S3.public String toString()
toString
in class Object
Object.toString()
public UpdateQuerySuggestionsBlockListRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()