Interface CreateOntologyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<CreateOntologyResponse.Builder,,CreateOntologyResponse> SdkBuilder<CreateOntologyResponse.Builder,,CreateOntologyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateOntologyResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the created ontology.description(String description) The description as stored.The ID of the ontology, assigned by AWS Context.The display name as stored.When the ontology last changed.validationIssues(Collection<OntologyValidationIssue> validationIssues) Non-fatal warnings from the derivation, such asSYNTHESIZED_NODE_IDor a widened datatype.validationIssues(Consumer<OntologyValidationIssue.Builder>... validationIssues) Non-fatal warnings from the derivation, such asSYNTHESIZED_NODE_IDor a widened datatype.validationIssues(OntologyValidationIssue... validationIssues) Non-fatal warnings from the derivation, such asSYNTHESIZED_NODE_IDor a widened datatype.The initial version that CreateOntology created, in MAJOR.MINOR.PATCH form, for example1.0.0.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 ontology, assigned by AWS Context.
- Parameters:
id- The ID of the ontology, assigned by AWS Context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the created ontology.
- Parameters:
arn- The ARN of the created ontology.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
When the ontology last changed. On create, the creation time. On a replay, the current value.
- Parameters:
updatedAt- When the ontology last changed. On create, the creation time. On a replay, the current value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The display name as stored. On a replay, the current one.
- Parameters:
name- The display name as stored. On a replay, the current one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description as stored. Absent when there is none. On a replay, the current one.
- Parameters:
description- The description as stored. Absent when there is none. On a replay, the current one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The initial version that CreateOntology created, in MAJOR.MINOR.PATCH form, for example
1.0.0.- Parameters:
version- The initial version that CreateOntology created, in MAJOR.MINOR.PATCH form, for example1.0.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationIssues
CreateOntologyResponse.Builder validationIssues(Collection<OntologyValidationIssue> validationIssues) Non-fatal warnings from the derivation, such as
SYNTHESIZED_NODE_IDor a widened datatype. AWS Context also stores them on the version, and GetOntology returns them invalidationIssues. Absent or empty if the derivation produced no warnings.- Parameters:
validationIssues- Non-fatal warnings from the derivation, such asSYNTHESIZED_NODE_IDor a widened datatype. AWS Context also stores them on the version, and GetOntology returns them invalidationIssues. Absent or empty if the derivation produced no warnings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationIssues
Non-fatal warnings from the derivation, such as
SYNTHESIZED_NODE_IDor a widened datatype. AWS Context also stores them on the version, and GetOntology returns them invalidationIssues. Absent or empty if the derivation produced no warnings.- Parameters:
validationIssues- Non-fatal warnings from the derivation, such asSYNTHESIZED_NODE_IDor a widened datatype. AWS Context also stores them on the version, and GetOntology returns them invalidationIssues. Absent or empty if the derivation produced no warnings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationIssues
CreateOntologyResponse.Builder validationIssues(Consumer<OntologyValidationIssue.Builder>... validationIssues) Non-fatal warnings from the derivation, such as
This is a convenience method that creates an instance of theSYNTHESIZED_NODE_IDor a widened datatype. AWS Context also stores them on the version, and GetOntology returns them invalidationIssues. Absent or empty if the derivation produced no warnings.OntologyValidationIssue.Builderavoiding the need to create one manually viaOntologyValidationIssue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationIssues(List<OntologyValidationIssue>).- Parameters:
validationIssues- a consumer that will call methods onOntologyValidationIssue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-