Class DescribeFaqResponse

    • Method Detail

      • id

        public final String id()

        The identifier of the FAQ.

        Returns:
        The identifier of the FAQ.
      • indexId

        public final String indexId()

        The identifier of the index for the FAQ.

        Returns:
        The identifier of the index for the FAQ.
      • name

        public final String name()

        The name that you gave the FAQ when it was created.

        Returns:
        The name that you gave the FAQ when it was created.
      • description

        public final String description()

        The description of the FAQ that you provided when it was created.

        Returns:
        The description of the FAQ that you provided when it was created.
      • createdAt

        public final Instant createdAt()

        The Unix timestamp when the FAQ was created.

        Returns:
        The Unix timestamp when the FAQ was created.
      • updatedAt

        public final Instant updatedAt()

        The Unix timestamp when the FAQ was last updated.

        Returns:
        The Unix timestamp when the FAQ was last updated.
      • s3Path

        public final S3Path s3Path()
        Returns the value of the S3Path property for this object.
        Returns:
        The value of the S3Path property for this object.
      • status

        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().

        Returns:
        The status of the FAQ. It is ready to use when the status is ACTIVE.
        See Also:
        FaqStatus
      • statusAsString

        public 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().

        Returns:
        The status of the FAQ. It is ready to use when the status is ACTIVE.
        See Also:
        FaqStatus
      • roleArn

        public 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.

        Returns:
        The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.
      • errorMessage

        public final String errorMessage()

        If the Status field is FAILED, the ErrorMessage field contains the reason why the FAQ failed.

        Returns:
        If the Status field is FAILED, the ErrorMessage field contains the reason why the FAQ failed.
      • fileFormat

        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().

        Returns:
        The file format used by the input files for the FAQ.
        See Also:
        FaqFileFormat
      • fileFormatAsString

        public 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().

        Returns:
        The file format used by the input files for the FAQ.
        See Also:
        FaqFileFormat
      • languageCode

        public final String languageCode()

        The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.

        Returns:
        The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object