@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()
The description for a block list.
|
String |
getId()
The unique identifier of a block list.
|
String |
getIndexId()
The identifier of the index for a block list.
|
String |
getName()
The name of a 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)
The description for a block list.
|
void |
setId(String id)
The unique identifier of a block list.
|
void |
setIndexId(String indexId)
The identifier of the index for a block list.
|
void |
setName(String name)
The name of a 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)
The description for a block list.
|
UpdateQuerySuggestionsBlockListRequest |
withId(String id)
The unique identifier of a block list.
|
UpdateQuerySuggestionsBlockListRequest |
withIndexId(String indexId)
The identifier of the index for a block list.
|
UpdateQuerySuggestionsBlockListRequest |
withName(String name)
The name of a 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 a block list.
indexId
- The identifier of the index for a block list.public String getIndexId()
The identifier of the index for a block list.
public UpdateQuerySuggestionsBlockListRequest withIndexId(String indexId)
The identifier of the index for a block list.
indexId
- The identifier of the index for a block list.public void setId(String id)
The unique identifier of a block list.
id
- The unique identifier of a block list.public String getId()
The unique identifier of a block list.
public UpdateQuerySuggestionsBlockListRequest withId(String id)
The unique identifier of a block list.
id
- The unique identifier of a block list.public void setName(String name)
The name of a block list.
name
- The name of a block list.public String getName()
The name of a block list.
public UpdateQuerySuggestionsBlockListRequest withName(String name)
The name of a block list.
name
- The name of a block list.public void setDescription(String description)
The description for a block list.
description
- The description for a block list.public String getDescription()
The description for a block list.
public UpdateQuerySuggestionsBlockListRequest withDescription(String description)
The description for a block list.
description
- The description for a 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()