Interface InferSnomedctResponse.Builder

    • Method Detail

      • entities

        InferSnomedctResponse.Builder entities​(Collection<SNOMEDCTEntity> entities)

        The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.

        Parameters:
        entities - The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entities

        InferSnomedctResponse.Builder entities​(SNOMEDCTEntity... entities)

        The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.

        Parameters:
        entities - The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entities

        InferSnomedctResponse.Builder entities​(Consumer<SNOMEDCTEntity.Builder>... entities)

        The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.

        This is a convenience method that creates an instance of the SNOMEDCTEntity.Builder avoiding the need to create one manually via SNOMEDCTEntity.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #entities(List).

        Parameters:
        entities - a consumer that will call methods on SNOMEDCTEntity.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #entities(java.util.Collection)
      • paginationToken

        InferSnomedctResponse.Builder paginationToken​(String paginationToken)

        If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.

        Parameters:
        paginationToken - If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelVersion

        InferSnomedctResponse.Builder modelVersion​(String modelVersion)

        The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.

        Parameters:
        modelVersion - The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snomedctDetails

        InferSnomedctResponse.Builder snomedctDetails​(SNOMEDCTDetails snomedctDetails)

        The details of the SNOMED-CT revision, including the edition, language, and version date.

        Parameters:
        snomedctDetails - The details of the SNOMED-CT revision, including the edition, language, and version date.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • characters

        InferSnomedctResponse.Builder characters​(Characters characters)

        The number of characters in the input request documentation.

        Parameters:
        characters - The number of characters in the input request documentation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.