Interface GetIndexResponse.Builder

    • Method Detail

      • applicationId

        GetIndexResponse.Builder applicationId​(String applicationId)

        The identifier of the Amazon Q Business application associated with the index.

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

        GetIndexResponse.Builder indexId​(String indexId)

        The identifier of the Amazon Q Business index.

        Parameters:
        indexId - The identifier of the Amazon Q Business index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayName

        GetIndexResponse.Builder displayName​(String displayName)

        The name of the Amazon Q Business index.

        Parameters:
        displayName - The name of the Amazon Q Business index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        GetIndexResponse.Builder type​(String type)

        The type of index attached to your Amazon Q Business application.

        Parameters:
        type - The type of index attached to your Amazon Q Business application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IndexType, IndexType
      • type

        GetIndexResponse.Builder type​(IndexType type)

        The type of index attached to your Amazon Q Business application.

        Parameters:
        type - The type of index attached to your Amazon Q Business application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IndexType, IndexType
      • indexArn

        GetIndexResponse.Builder indexArn​(String indexArn)

        The Amazon Resource Name (ARN) of the Amazon Q Business index.

        Parameters:
        indexArn - The Amazon Resource Name (ARN) of the Amazon Q Business index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        GetIndexResponse.Builder status​(String status)

        The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

        Parameters:
        status - The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IndexStatus, IndexStatus
      • status

        GetIndexResponse.Builder status​(IndexStatus status)

        The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

        Parameters:
        status - The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IndexStatus, IndexStatus
      • description

        GetIndexResponse.Builder description​(String description)

        The description for the Amazon Q Business index.

        Parameters:
        description - The description for the Amazon Q Business index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        GetIndexResponse.Builder createdAt​(Instant createdAt)

        The Unix timestamp when the Amazon Q Business index was created.

        Parameters:
        createdAt - The Unix timestamp when the Amazon Q Business index was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        GetIndexResponse.Builder updatedAt​(Instant updatedAt)

        The Unix timestamp when the Amazon Q Business index was last updated.

        Parameters:
        updatedAt - The Unix timestamp when the Amazon Q Business index was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityConfiguration

        GetIndexResponse.Builder capacityConfiguration​(IndexCapacityConfiguration capacityConfiguration)

        The storage capacity units chosen for your Amazon Q Business index.

        Parameters:
        capacityConfiguration - The storage capacity units chosen for your Amazon Q Business index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentAttributeConfigurations

        GetIndexResponse.Builder documentAttributeConfigurations​(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations)

        Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.

        Parameters:
        documentAttributeConfigurations - Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentAttributeConfigurations

        GetIndexResponse.Builder documentAttributeConfigurations​(DocumentAttributeConfiguration... documentAttributeConfigurations)

        Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.

        Parameters:
        documentAttributeConfigurations - Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • error

        GetIndexResponse.Builder error​(ErrorDetail error)

        When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.

        Parameters:
        error - When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • indexStatistics

        GetIndexResponse.Builder indexStatistics​(IndexStatistics indexStatistics)

        Provides information about the number of documents indexed.

        Parameters:
        indexStatistics - Provides information about the number of documents indexed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.