Class GetDataSourceResponse

    • Method Detail

      • applicationId

        public final String applicationId()

        The identifier of the Amazon Q application.

        Returns:
        The identifier of the Amazon Q application.
      • 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.
      • 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.
      • dataSourceArn

        public final String dataSourceArn()

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

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

        public final String dataSourceId()

        The identifier of the data source connector.

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

        public final String description()

        The description for the data source connector.

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

        public final String displayName()

        The name for the data source connector.

        Returns:
        The name for the data source connector.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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 to update the index.

        Returns:
        The schedule for Amazon Q to update the index.
      • 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.
      • 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.
      • 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.
      • 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