Interface GetIndexResponse.Builder

    • Method Detail

      • applicationId

        GetIndexResponse.Builder applicationId​(String applicationId)

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

        Parameters:
        applicationId - The identifier of the Amazon Q application associated with the index.
        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 index.

        Parameters:
        capacityConfiguration - The storage capacity units chosen for your Amazon Q 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 index was created.

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

        GetIndexResponse.Builder description​(String description)

        The description for the Amazon Q index.

        Parameters:
        description - The description for the Amazon Q 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 index.

        Parameters:
        displayName - The name of the Amazon Q 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.
      • indexArn

        GetIndexResponse.Builder indexArn​(String indexArn)

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

        Parameters:
        indexArn - The Amazon Resource Name (ARN) of the Amazon Q 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 index.

        Parameters:
        indexId - The identifier of the Amazon Q index.
        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.
      • 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
      • updatedAt

        GetIndexResponse.Builder updatedAt​(Instant updatedAt)

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

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