Interface CreateOntologyResponse.Builder

  • 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

      CreateOntologyResponse.Builder description(String 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 example 1.0.0.
      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_ID or a widened datatype. AWS Context also stores them on the version, and GetOntology returns them in validationIssues. Absent or empty if the derivation produced no warnings.

      Parameters:
      validationIssues - Non-fatal warnings from the derivation, such as SYNTHESIZED_NODE_ID or a widened datatype. AWS Context also stores them on the version, and GetOntology returns them in validationIssues. 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(OntologyValidationIssue... validationIssues)

      Non-fatal warnings from the derivation, such as SYNTHESIZED_NODE_ID or a widened datatype. AWS Context also stores them on the version, and GetOntology returns them in validationIssues. Absent or empty if the derivation produced no warnings.

      Parameters:
      validationIssues - Non-fatal warnings from the derivation, such as SYNTHESIZED_NODE_ID or a widened datatype. AWS Context also stores them on the version, and GetOntology returns them in validationIssues. 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_ID or a widened datatype. AWS Context also stores them on the version, and GetOntology returns them in validationIssues. Absent or empty if the derivation produced no warnings.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validationIssues(List<OntologyValidationIssue>).

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