@Generated(value="software.amazon.awssdk:codegen") public final class DescribeFaqResponse extends KendraResponse implements ToCopyableBuilder<DescribeFaqResponse.Builder,DescribeFaqResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeFaqResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeFaqResponse.Builder |
builder() |
Instant |
createdAt()
The date and time that the FAQ was created.
|
String |
description()
The description of the FAQ that you provided when it was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
If the
Status field is FAILED, the ErrorMessage field contains the reason
why the FAQ failed. |
FaqFileFormat |
fileFormat()
The file format used by the input files for the FAQ.
|
String |
fileFormatAsString()
The file format used by the input files for the FAQ.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the FAQ.
|
String |
indexId()
The identifier of the index that contains the FAQ.
|
String |
name()
The name that you gave the FAQ when it was created.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for
the FAQ.
|
S3Path |
s3Path()
Returns the value of the S3Path property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeFaqResponse.Builder> |
serializableBuilderClass() |
FaqStatus |
status()
The status of the FAQ.
|
String |
statusAsString()
The status of the FAQ.
|
DescribeFaqResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The date and time that the FAQ was last updated.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the FAQ.
public final String indexId()
The identifier of the index that contains the FAQ.
public final String name()
The name that you gave the FAQ when it was created.
public final String description()
The description of the FAQ that you provided when it was created.
public final Instant createdAt()
The date and time that the FAQ was created.
public final Instant updatedAt()
The date and time that the FAQ was last updated.
public final S3Path s3Path()
public final FaqStatus status()
The status of the FAQ. It is ready to use when the status is ACTIVE.
If the service returns an enum value that is not available in the current SDK version, status will
return FaqStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ACTIVE.FaqStatuspublic final String statusAsString()
The status of the FAQ. It is ready to use when the status is ACTIVE.
If the service returns an enum value that is not available in the current SDK version, status will
return FaqStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ACTIVE.FaqStatuspublic final String roleArn()
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.
public final String errorMessage()
If the Status field is FAILED, the ErrorMessage field contains the reason
why the FAQ failed.
Status field is FAILED, the ErrorMessage field contains the
reason why the FAQ failed.public final FaqFileFormat fileFormat()
The file format used by the input files for the FAQ.
If the service returns an enum value that is not available in the current SDK version, fileFormat will
return FaqFileFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fileFormatAsString().
FaqFileFormatpublic final String fileFormatAsString()
The file format used by the input files for the FAQ.
If the service returns an enum value that is not available in the current SDK version, fileFormat will
return FaqFileFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fileFormatAsString().
FaqFileFormatpublic DescribeFaqResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeFaqResponse.Builder,DescribeFaqResponse>toBuilder in class AwsResponsepublic static DescribeFaqResponse.Builder builder()
public static Class<? extends DescribeFaqResponse.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.