Interface GetOntologyInductionResponse.Builder

  • Method Details

    • id

      The ID of the induction, assigned by AWS Context.

      Parameters:
      id - The ID of the induction, assigned by AWS Context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the ontology induction.

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

      The status of the ontology induction: INDUCING while it runs, then DRAFT once it has created a draft ontology, or FAILED. An induction that CancelOntologyInduction stops is CANCELLED. DRAFT, FAILED, and CANCELLED are final.

      Parameters:
      status - The status of the ontology induction: INDUCING while it runs, then DRAFT once it has created a draft ontology, or FAILED. An induction that CancelOntologyInduction stops is CANCELLED. DRAFT, FAILED, and CANCELLED are final.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the ontology induction: INDUCING while it runs, then DRAFT once it has created a draft ontology, or FAILED. An induction that CancelOntologyInduction stops is CANCELLED. DRAFT, FAILED, and CANCELLED are final.

      Parameters:
      status - The status of the ontology induction: INDUCING while it runs, then DRAFT once it has created a draft ontology, or FAILED. An induction that CancelOntologyInduction stops is CANCELLED. DRAFT, FAILED, and CANCELLED are final.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failure

      Why the induction is FAILED. Absent in every other status.

      Parameters:
      failure - Why the induction is FAILED. Absent in every other status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failure

      Why the induction is FAILED. Absent in every other status.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failure(OntologyInductionFailure).

      Parameters:
      failure - a consumer that will call methods on OntologyInductionFailure.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ontologyName

      GetOntologyInductionResponse.Builder ontologyName(String ontologyName)

      The name the induction's ontology gets, as StartOntologyInduction took it (ontologyName). Once the ontology exists, its current name is GetOntology's.

      Parameters:
      ontologyName - The name the induction's ontology gets, as StartOntologyInduction took it (ontologyName). Once the ontology exists, its current name is GetOntology's.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ontologyDescription

      GetOntologyInductionResponse.Builder ontologyDescription(String ontologyDescription)

      The description the induction's ontology gets (ontologyDescription). Absent when there is none.

      Parameters:
      ontologyDescription - The description the induction's ontology gets (ontologyDescription). Absent when there is none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ontologyId

      The ontology the induction created. Present exactly when the status is DRAFT: the ontology is created as DRAFT, in the same step that makes the induction DRAFT. Absent while INDUCING, and on a FAILED or CANCELLED induction, which never has an ontology. Returned even after the ontology is deleted.

      Parameters:
      ontologyId - The ontology the induction created. Present exactly when the status is DRAFT: the ontology is created as DRAFT, in the same step that makes the induction DRAFT. Absent while INDUCING, and on a FAILED or CANCELLED induction, which never has an ontology. Returned even after the ontology is deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ontologyArn

      GetOntologyInductionResponse.Builder ontologyArn(String ontologyArn)

      The ARN of ontologyId. Present when it is.

      Parameters:
      ontologyArn - The ARN of ontologyId. Present when it is.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The date and time when the ontology induction was created.

      Parameters:
      createdAt - The date and time when the ontology induction was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The date and time when the ontology induction was last updated. Set when the induction is created, and updated on every change, such as a change of status.

      Parameters:
      updatedAt - The date and time when the ontology induction was last updated. Set when the induction is created, and updated on every change, such as a change of status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • seedOntologyId

      GetOntologyInductionResponse.Builder seedOntologyId(String seedOntologyId)

      The seed ontology the induction started from. Absent when started without a seed. Returned in every status.

      Parameters:
      seedOntologyId - The seed ontology the induction started from. Absent when started without a seed. Returned in every status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • prompt

      The prompt that the induction was started with. Absent if the induction was started without a prompt.

      Parameters:
      prompt - The prompt that the induction was started with. Absent if the induction was started without a prompt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputConfig

      What the induction was started from, without the document content.

      Parameters:
      inputConfig - What the induction was started from, without the document content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputConfig

      What the induction was started from, without the document content.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inputConfig(OntologyInductionInputConfigSummary).

      Parameters:
      inputConfig - a consumer that will call methods on OntologyInductionInputConfigSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: