Class GetDataSourceResponse

    • Method Detail

      • applicationId

        public final String applicationId()

        The identifier of the Amazon Q Business application.

        Returns:
        The identifier of the Amazon Q Business application.
      • indexId

        public final String indexId()

        The identifier of the index linked to the data source connector.

        Returns:
        The identifier of the index linked to the data source connector.
      • dataSourceId

        public final String dataSourceId()

        The identifier of the data source connector.

        Returns:
        The identifier of the data source connector.
      • dataSourceArn

        public final String dataSourceArn()

        The Amazon Resource Name (ARN) of the data source.

        Returns:
        The Amazon Resource Name (ARN) of the data source.
      • displayName

        public final String displayName()

        The name for the data source connector.

        Returns:
        The name for the data source connector.
      • type

        public final String type()

        The type of the data source connector. For example, S3.

        Returns:
        The type of the data source connector. For example, S3.
      • configuration

        public final Document configuration()

        The details of how the data source connector is configured.

        Returns:
        The details of how the data source connector is configured.
      • vpcConfiguration

        public final DataSourceVpcConfiguration vpcConfiguration()

        Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.

        Returns:
        Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.
      • createdAt

        public final Instant createdAt()

        The Unix timestamp when the data source connector was created.

        Returns:
        The Unix timestamp when the data source connector was created.
      • updatedAt

        public final Instant updatedAt()

        The Unix timestamp when the data source connector was last updated.

        Returns:
        The Unix timestamp when the data source connector was last updated.
      • description

        public final String description()

        The description for the data source connector.

        Returns:
        The description for the data source connector.
      • status

        public final DataSourceStatus status()

        The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.

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

        Returns:
        The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
        See Also:
        DataSourceStatus
      • statusAsString

        public final String statusAsString()

        The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.

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

        Returns:
        The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
        See Also:
        DataSourceStatus
      • syncSchedule

        public final String syncSchedule()

        The schedule for Amazon Q Business to update the index.

        Returns:
        The schedule for Amazon Q Business to update the index.
      • roleArn

        public final String roleArn()

        The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.

        Returns:
        The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
      • error

        public final ErrorDetail error()

        When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.

        Returns:
        When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
      • documentEnrichmentConfiguration

        public final DocumentEnrichmentConfiguration documentEnrichmentConfiguration()
        Returns the value of the DocumentEnrichmentConfiguration property for this object.
        Returns:
        The value of the DocumentEnrichmentConfiguration property for this object.
      • 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