Interface GetDataSourceResponse.Builder

    • Method Detail

      • applicationId

        GetDataSourceResponse.Builder applicationId​(String applicationId)

        The identifier of the Amazon Q application.

        Parameters:
        applicationId - The identifier of the Amazon Q application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuration

        GetDataSourceResponse.Builder configuration​(Document configuration)

        The details of how the data source connector is configured.

        Parameters:
        configuration - The details of how the data source connector is configured.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        GetDataSourceResponse.Builder createdAt​(Instant createdAt)

        The Unix timestamp when the data source connector was created.

        Parameters:
        createdAt - The Unix timestamp when the data source connector was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourceArn

        GetDataSourceResponse.Builder dataSourceArn​(String dataSourceArn)

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

        Parameters:
        dataSourceArn - The Amazon Resource Name (ARN) of the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourceId

        GetDataSourceResponse.Builder dataSourceId​(String dataSourceId)

        The identifier of the data source connector.

        Parameters:
        dataSourceId - The identifier of the data source connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        GetDataSourceResponse.Builder description​(String description)

        The description for the data source connector.

        Parameters:
        description - The description for the data source connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayName

        GetDataSourceResponse.Builder displayName​(String displayName)

        The name for the data source connector.

        Parameters:
        displayName - The name for the data source connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentEnrichmentConfiguration

        GetDataSourceResponse.Builder documentEnrichmentConfiguration​(DocumentEnrichmentConfiguration documentEnrichmentConfiguration)
        Sets the value of the DocumentEnrichmentConfiguration property for this object.
        Parameters:
        documentEnrichmentConfiguration - The new value for the DocumentEnrichmentConfiguration property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • error

        GetDataSourceResponse.Builder error​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • indexId

        GetDataSourceResponse.Builder indexId​(String indexId)

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

        Parameters:
        indexId - The identifier of the index linked to the data source connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        GetDataSourceResponse.Builder roleArn​(String roleArn)

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

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        GetDataSourceResponse.Builder status​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataSourceStatus, DataSourceStatus
      • status

        GetDataSourceResponse.Builder status​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataSourceStatus, DataSourceStatus
      • syncSchedule

        GetDataSourceResponse.Builder syncSchedule​(String syncSchedule)

        The schedule for Amazon Q to update the index.

        Parameters:
        syncSchedule - The schedule for Amazon Q to update the index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        GetDataSourceResponse.Builder type​(String type)

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

        Parameters:
        type - The type of the data source connector. For example, S3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        GetDataSourceResponse.Builder updatedAt​(Instant updatedAt)

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

        Parameters:
        updatedAt - The Unix timestamp when the data source connector was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcConfiguration

        GetDataSourceResponse.Builder vpcConfiguration​(DataSourceVpcConfiguration vpcConfiguration)

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

        Parameters:
        vpcConfiguration - Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.