Interface GetOntologyInductionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<GetOntologyInductionResponse.Builder,,GetOntologyInductionResponse> SdkBuilder<GetOntologyInductionResponse.Builder,,GetOntologyInductionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetOntologyInductionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the ontology induction.The date and time when the ontology induction was created.failure(Consumer<OntologyInductionFailure.Builder> failure) Why the induction is FAILED.failure(OntologyInductionFailure failure) Why the induction is FAILED.The ID of the induction, assigned by AWS Context.inputConfig(Consumer<OntologyInductionInputConfigSummary.Builder> inputConfig) What the induction was started from, without the document content.inputConfig(OntologyInductionInputConfigSummary inputConfig) What the induction was started from, without the document content.ontologyArn(String ontologyArn) The ARN ofontologyId.ontologyDescription(String ontologyDescription) The description the induction's ontology gets (ontologyDescription).ontologyId(String ontologyId) The ontology the induction created.ontologyName(String ontologyName) The name the induction's ontology gets, as StartOntologyInduction took it (ontologyName).The prompt that the induction was started with.seedOntologyId(String seedOntologyId) The seed ontology the induction started from.The status of the ontology induction:INDUCINGwhile it runs, thenDRAFTonce it has created a draft ontology, orFAILED.status(OntologyInductionStatus status) The status of the ontology induction:INDUCINGwhile it runs, thenDRAFTonce it has created a draft ontology, orFAILED.The date and time when the ontology induction was last updated.Methods inherited from interface software.amazon.awssdk.services.context.model.ContextResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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:
INDUCINGwhile it runs, thenDRAFTonce it has created a draft ontology, orFAILED. An induction that CancelOntologyInduction stops isCANCELLED.DRAFT,FAILED, andCANCELLEDare final.- Parameters:
status- The status of the ontology induction:INDUCINGwhile it runs, thenDRAFTonce it has created a draft ontology, orFAILED. An induction that CancelOntologyInduction stops isCANCELLED.DRAFT,FAILED, andCANCELLEDare 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:
INDUCINGwhile it runs, thenDRAFTonce it has created a draft ontology, orFAILED. An induction that CancelOntologyInduction stops isCANCELLED.DRAFT,FAILED, andCANCELLEDare final.- Parameters:
status- The status of the ontology induction:INDUCINGwhile it runs, thenDRAFTonce it has created a draft ontology, orFAILED. An induction that CancelOntologyInduction stops isCANCELLED.DRAFT,FAILED, andCANCELLEDare 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
default GetOntologyInductionResponse.Builder failure(Consumer<OntologyInductionFailure.Builder> failure) Why the induction is FAILED. Absent in every other status.
This is a convenience method that creates an instance of theOntologyInductionFailure.Builderavoiding the need to create one manually viaOntologyInductionFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailure(OntologyInductionFailure).- Parameters:
failure- a consumer that will call methods onOntologyInductionFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The ARN of
ontologyId. Present when it is.- Parameters:
ontologyArn- The ARN ofontologyId. 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
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
default GetOntologyInductionResponse.Builder inputConfig(Consumer<OntologyInductionInputConfigSummary.Builder> inputConfig) What the induction was started from, without the document content.
This is a convenience method that creates an instance of theOntologyInductionInputConfigSummary.Builderavoiding the need to create one manually viaOntologyInductionInputConfigSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputConfig(OntologyInductionInputConfigSummary).- Parameters:
inputConfig- a consumer that will call methods onOntologyInductionInputConfigSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-