Class ImportDocumentRequest

    • Method Detail

      • instanceId

        public final String instanceId()

        The unique identifier of the Amazon Q Business application environment instance.

        Returns:
        The unique identifier of the Amazon Q Business application environment instance.
      • cardId

        public final String cardId()

        The unique identifier of the card the file is associated with, if applicable.

        Returns:
        The unique identifier of the card the file is associated with, if applicable.
      • appId

        public final String appId()

        The unique identifier of the Q App the file is associated with.

        Returns:
        The unique identifier of the Q App the file is associated with.
      • fileContentsBase64

        public final String fileContentsBase64()

        The base64-encoded contents of the file to upload.

        Returns:
        The base64-encoded contents of the file to upload.
      • fileName

        public final String fileName()

        The name of the file being uploaded.

        Returns:
        The name of the file being uploaded.
      • scope

        public final DocumentScope scope()

        Whether the file is associated with an Q App definition or a specific Q App session.

        If the service returns an enum value that is not available in the current SDK version, scope will return DocumentScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scopeAsString().

        Returns:
        Whether the file is associated with an Q App definition or a specific Q App session.
        See Also:
        DocumentScope
      • scopeAsString

        public final String scopeAsString()

        Whether the file is associated with an Q App definition or a specific Q App session.

        If the service returns an enum value that is not available in the current SDK version, scope will return DocumentScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scopeAsString().

        Returns:
        Whether the file is associated with an Q App definition or a specific Q App session.
        See Also:
        DocumentScope
      • sessionId

        public final String sessionId()

        The unique identifier of the Q App session the file is associated with, if applicable.

        Returns:
        The unique identifier of the Q App session the file is associated with, if applicable.
      • 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