Class OntologySummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OntologySummary.Builder,OntologySummary>
Identity, status, DEFAULT-version summary and type counts for one ontology, ordered by ontology ID. Doesn't include the template, which can be up to 2,000,000 characters. Call GetOntology for one ontology's detail.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The ARN of the ontology.static OntologySummary.Builderbuilder()final StringThe current DEFAULT version.final StringThe description.final LongNumber of edge types in the DEFAULT version's template.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The ID of the ontology, assigned by AWS Context.final Stringname()The ontology's current display name.final LongNumber of node types in the DEFAULT version's template.final StringThe induction that made the ontology.final InstantWhen that version was published as the DEFAULT.static Class<? extends OntologySummary.Builder> final OntologyStatusstatus()The ontology's status.final StringThe ontology's status.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantWhen the ontology last changed.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The ID of the ontology, assigned by AWS Context.
- Returns:
- The ID of the ontology, assigned by AWS Context.
-
arn
The ARN of the ontology. Always present: every listed ontology is customer-owned, so its ARN includes the account.
- Returns:
- The ARN of the ontology. Always present: every listed ontology is customer-owned, so its ARN includes the account.
-
name
The ontology's current display name. Present on every summary: only customer-owned ontologies are listed, and each has a name.
- Returns:
- The ontology's current display name. Present on every summary: only customer-owned ontologies are listed, and each has a name.
-
description
The description. Absent when the ontology has none.
- Returns:
- The description. Absent when the ontology has none.
-
status
The ontology's status. PUBLISHED for every ontology CreateOntology made.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnOntologyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The ontology's status. PUBLISHED for every ontology CreateOntology made.
- See Also:
-
statusAsString
The ontology's status. PUBLISHED for every ontology CreateOntology made.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnOntologyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The ontology's status. PUBLISHED for every ontology CreateOntology made.
- See Also:
-
updatedAt
When the ontology last changed. Equal to its creation time until the first update.
- Returns:
- When the ontology last changed. Equal to its creation time until the first update.
-
ontologyInductionId
The induction that made the ontology. Absent for an ontology CreateOntology made.
- Returns:
- The induction that made the ontology. Absent for an ontology CreateOntology made.
-
defaultVersion
The current DEFAULT version. While an induced ontology is DRAFT, its version 1.0.0, which has an empty template and no source until you publish the ontology in the AWS Context console.
- Returns:
- The current DEFAULT version. While an induced ontology is DRAFT, its version 1.0.0, which has an empty template and no source until you publish the ontology in the AWS Context console.
-
publishedAt
When that version was published as the DEFAULT. Absent while the ontology is DRAFT: a DRAFT ontology stays a draft until you publish it in the AWS Context console.
- Returns:
- When that version was published as the DEFAULT. Absent while the ontology is DRAFT: a DRAFT ontology stays a draft until you publish it in the AWS Context console.
-
nodeTypeCount
Number of node types in the DEFAULT version's template. Absent for an ontology created before counts were stored.
- Returns:
- Number of node types in the DEFAULT version's template. Absent for an ontology created before counts were stored.
-
edgeTypeCount
Number of edge types in the DEFAULT version's template. Absent for an ontology created before counts were stored.
- Returns:
- Number of edge types in the DEFAULT version's template. Absent for an ontology created before counts were stored.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<OntologySummary.Builder,OntologySummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-