@Generated(value="software.amazon.awssdk:codegen") public final class UpdateQuerySuggestionsBlockListRequest extends KendraRequest implements ToCopyableBuilder<UpdateQuerySuggestionsBlockListRequest.Builder,UpdateQuerySuggestionsBlockListRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateQuerySuggestionsBlockListRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateQuerySuggestionsBlockListRequest.Builder |
builder() |
String |
description()
A new description for the block list.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the block list you want to update.
|
String |
indexId()
The identifier of the index for the block list.
|
String |
name()
A new name for the block list.
|
String |
roleArn()
The IAM (Identity and Access Management) role used to access the block list text file in S3.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateQuerySuggestionsBlockListRequest.Builder> |
serializableBuilderClass() |
S3Path |
sourceS3Path()
The S3 path where your block list text file sits in S3.
|
UpdateQuerySuggestionsBlockListRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String indexId()
The identifier of the index for the block list.
public final String id()
The identifier of the block list you want to update.
public final String name()
A new name for the block list.
public final String description()
A new description for the block list.
public final 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.
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 final String roleArn()
The IAM (Identity and Access Management) role used to access the block list text file in S3.
public UpdateQuerySuggestionsBlockListRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateQuerySuggestionsBlockListRequest.Builder,UpdateQuerySuggestionsBlockListRequest>toBuilder in class KendraRequestpublic static UpdateQuerySuggestionsBlockListRequest.Builder builder()
public static Class<? extends UpdateQuerySuggestionsBlockListRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.