Interface CreateOntologyRequest.Builder

  • Method Details

    • clientToken

      CreateOntologyRequest.Builder clientToken(String clientToken)

      Client idempotency token. A reused token with an identical request returns the existing ontology with no second write. A reused token with a different request (any member differs, for example name, description, sourceFormat, or source) is a ValidationException naming clientToken, never a ConflictException. The AWS SDKs generate the token automatically. A request that arrives without a token is a ValidationException.

      Parameters:
      clientToken - Client idempotency token. A reused token with an identical request returns the existing ontology with no second write. A reused token with a different request (any member differs, for example name, description, sourceFormat, or source) is a ValidationException naming clientToken, never a ConflictException. The AWS SDKs generate the token automatically. A request that arrives without a token is a ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Friendly display name for the ontology (for example, "Sales Org"). AWS Context assigns the ontology its opaque ID. This name is a non-unique label. You can rename the ontology in the AWS Context console.

      Parameters:
      name - Friendly display name for the ontology (for example, "Sales Org"). AWS Context assigns the ontology its opaque ID. This name is a non-unique label. You can rename the ontology in the AWS Context console.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateOntologyRequest.Builder description(String description)

      Optional description of the ontology. Part of the idempotency comparison on a replay.

      Parameters:
      description - Optional description of the ontology. Part of the idempotency comparison on a replay.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceFormat

      CreateOntologyRequest.Builder sourceFormat(String sourceFormat)

      The format of source. The only supported value is TURTLE.

      Parameters:
      sourceFormat - The format of source. The only supported value is TURTLE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceFormat

      The format of source. The only supported value is TURTLE.

      Parameters:
      sourceFormat - The format of source. The only supported value is TURTLE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      An OWL ontology to derive the template from, in sourceFormat.

      Parameters:
      source - An OWL ontology to derive the template from, in sourceFormat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to add to the ontology when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with aws:. To add tags, you also need context:TagResource permission on the new ontology. If you specify more than 50 user tags, the request fails with ServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with ValidationException.

      Parameters:
      tags - Tags to add to the ontology when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with aws:. To add tags, you also need context:TagResource permission on the new ontology. If you specify more than 50 user tags, the request fails with ServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateOntologyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.