@Generated(value="software.amazon.awssdk:codegen") public final class DescribeQuerySuggestionsBlockListResponse extends KendraResponse implements ToCopyableBuilder<DescribeQuerySuggestionsBlockListResponse.Builder,DescribeQuerySuggestionsBlockListResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeQuerySuggestionsBlockListResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeQuerySuggestionsBlockListResponse.Builder |
builder() |
Instant |
createdAt()
Shows the date-time a block list for query suggestions was last created.
|
String |
description()
Shows the description for the block list.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
Shows the error message with details when there are issues in processing the block list.
|
Long |
fileSizeBytes()
Shows the current size of the block list text file in S3.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
Shows the unique identifier of the block list.
|
String |
indexId()
Shows the identifier of the index for the block list.
|
Integer |
itemCount()
Shows the current number of valid, non-empty words or phrases in the block list text file.
|
String |
name()
Shows the name of the block list.
|
String |
roleArn()
Shows the current IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text
file in S3.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeQuerySuggestionsBlockListResponse.Builder> |
serializableBuilderClass() |
S3Path |
sourceS3Path()
Shows the current S3 path to your block list text file in your S3 bucket.
|
QuerySuggestionsBlockListStatus |
status()
Shows whether the current status of the block list is
ACTIVE or INACTIVE. |
String |
statusAsString()
Shows whether the current status of the block list is
ACTIVE or INACTIVE. |
DescribeQuerySuggestionsBlockListResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
Shows the date-time a block list for query suggestions was last updated.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String indexId()
Shows the identifier of the index for the block list.
public final String id()
Shows the unique identifier of the block list.
public final String name()
Shows the name of the block list.
public final String description()
Shows the description for the block list.
public final QuerySuggestionsBlockListStatus status()
Shows whether the current status of the block list is ACTIVE or INACTIVE.
If the service returns an enum value that is not available in the current SDK version, status will
return QuerySuggestionsBlockListStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ACTIVE or INACTIVE.QuerySuggestionsBlockListStatuspublic final String statusAsString()
Shows whether the current status of the block list is ACTIVE or INACTIVE.
If the service returns an enum value that is not available in the current SDK version, status will
return QuerySuggestionsBlockListStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ACTIVE or INACTIVE.QuerySuggestionsBlockListStatuspublic final String errorMessage()
Shows the error message with details when there are issues in processing the block list.
public final Instant createdAt()
Shows the date-time a block list for query suggestions was last created.
public final Instant updatedAt()
Shows the date-time a block list for query suggestions was last updated.
public final S3Path sourceS3Path()
Shows the current S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
public final Integer itemCount()
Shows the current number of valid, non-empty words or phrases in the block list text file.
public final Long fileSizeBytes()
Shows the current size of the block list text file in S3.
public final String roleArn()
Shows the current IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
public DescribeQuerySuggestionsBlockListResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeQuerySuggestionsBlockListResponse.Builder,DescribeQuerySuggestionsBlockListResponse>toBuilder in class AwsResponsepublic static DescribeQuerySuggestionsBlockListResponse.Builder builder()
public static Class<? extends DescribeQuerySuggestionsBlockListResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2021. All rights reserved.