Interface CreateOntologyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContextRequest.Builder,CopyableBuilder<CreateOntologyRequest.Builder,,CreateOntologyRequest> SdkBuilder<CreateOntologyRequest.Builder,,CreateOntologyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateOntologyRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Client idempotency token.description(String description) Optional description of the ontology.Friendly display name for the ontology (for example, "Sales Org").overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An OWL ontology to derive the template from, insourceFormat.sourceFormat(String sourceFormat) The format ofsource.sourceFormat(OntologySourceFormat sourceFormat) The format ofsource.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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.context.model.ContextRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
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, orsource) is a ValidationException namingclientToken, 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 examplename,description,sourceFormat, orsource) is a ValidationException namingclientToken, 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
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
The format of
source. The only supported value isTURTLE.- Parameters:
sourceFormat- The format ofsource. The only supported value isTURTLE.- 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 isTURTLE.- Parameters:
sourceFormat- The format ofsource. The only supported value isTURTLE.- 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, insourceFormat.- 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 needcontext:TagResourcepermission on the new ontology. If you specify more than 50 user tags, the request fails withServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails withValidationException.- 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 withaws:. To add tags, you also needcontext:TagResourcepermission on the new ontology. If you specify more than 50 user tags, the request fails withServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails withValidationException.- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOntologyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-