@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 String id()
The identifier of the FAQ.
public String indexId()
The identifier of the index that contains the FAQ.
public String name()
The name that you gave the FAQ when it was created.
public String description()
The description of the FAQ that you provided when it was created.
public Instant createdAt()
The date and time that the FAQ was created.
public Instant updatedAt()
The date and time that the FAQ was last updated.
public S3Path s3Path()
public 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 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 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 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 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 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 int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.