@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()
The Unix timestamp when a block list for query suggestions was created.
|
String |
description()
The description for the block list.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
The error message containing details if there are issues processing the block list.
|
Long |
fileSizeBytes()
The current size of the block list text file in S3.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the block list.
|
String |
indexId()
The identifier of the index for the block list.
|
Integer |
itemCount()
The current number of valid, non-empty words or phrases in the block list text file.
|
String |
name()
The name of the block list.
|
String |
roleArn()
The 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()
The current status of the block list.
|
String |
statusAsString()
The current status of the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The Unix timestamp when a block list for query suggestions was last updated.
|
responseMetadatasdkHttpResponseclone, 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.
public final String name()
The name of the block list.
public final String description()
The description for the block list.
public final QuerySuggestionsBlockListStatus status()
The current status of the block list. When the value is ACTIVE, the block list is ready for use.
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, the block list is ready for
use.QuerySuggestionsBlockListStatuspublic final String statusAsString()
The current status of the block list. When the value is ACTIVE, the block list is ready for use.
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, the block list is ready for
use.QuerySuggestionsBlockListStatuspublic final String errorMessage()
The error message containing details if there are issues processing the block list.
public final Instant createdAt()
The Unix timestamp when a block list for query suggestions was created.
public final Instant updatedAt()
The Unix timestamp when 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()
The current number of valid, non-empty words or phrases in the block list text file.
public final Long fileSizeBytes()
The current size of the block list text file in S3.
public final String roleArn()
The 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 © 2023. All rights reserved.