Interface PublicRecord.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PublicRecord.Builder,,PublicRecord> SdkBuilder<PublicRecord.Builder,,PublicRecord> SdkPojo
- Enclosing class:
PublicRecord
-
Method Summary
Modifier and TypeMethodDescriptionWhen the record was created.description(String description) A description of the record.descriptors(Map<String, DescriptorEntry> descriptors) Every PUBLIC descriptor slot the record was published with, as published: each slot'ssource, inlinedata,versionand nestedadditionalData, thecustomslot included.displayName(String displayName) The record's display name.Sets the value of the Domain property for this object.default PublicRecord.Builderidentifier(Consumer<Identifier.Builder> identifier) Sets the value of the Identifier property for this object.identifier(Identifier identifier) Sets the value of the Identifier property for this object.recordType(String recordType) The kind of resource the record describes, such as an agent, a tool, or a skill.recordType(RecordType recordType) The kind of resource the record describes, such as an agent, a tool, or a skill.recordVersion(String recordVersion) The record's version string, set by its publisher.trustManifests(Collection<TrustManifest> trustManifests) Trust Manifests (AI Catalog Trust Manifest Object), today only the registry's own,contributordid:web:agent-registry.global.api.aws.trustManifests(Consumer<TrustManifest.Builder>... trustManifests) Trust Manifests (AI Catalog Trust Manifest Object), today only the registry's own,contributordid:web:agent-registry.global.api.aws.trustManifests(TrustManifest... trustManifests) Trust Manifests (AI Catalog Trust Manifest Object), today only the registry's own,contributordid:web:agent-registry.global.api.aws.When the record was last updated.Methods 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
-
identifier
Sets the value of the Identifier property for this object.- Parameters:
identifier- The new value for the Identifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
Sets the value of the Identifier property for this object. This is a convenience method that creates an instance of theIdentifier.Builderavoiding the need to create one manually viaIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentifier(Identifier).- Parameters:
identifier- a consumer that will call methods onIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayName
The record's display name.
- Parameters:
displayName- The record's display name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the record.
- Parameters:
description- A description of the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordType
The kind of resource the record describes, such as an agent, a tool, or a skill.
- Parameters:
recordType- The kind of resource the record describes, such as an agent, a tool, or a skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordType
The kind of resource the record describes, such as an agent, a tool, or a skill.
- Parameters:
recordType- The kind of resource the record describes, such as an agent, a tool, or a skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domain
Sets the value of the Domain property for this object.- Parameters:
domain- The new value for the Domain property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptors
Every PUBLIC descriptor slot the record was published with, as published: each slot's
source, inlinedata,versionand nestedadditionalData, thecustomslot included. Absent on a record discovered at a partner source; ARD serves the partner's cards.- Parameters:
descriptors- Every PUBLIC descriptor slot the record was published with, as published: each slot'ssource, inlinedata,versionand nestedadditionalData, thecustomslot included. Absent on a record discovered at a partner source; ARD serves the partner's cards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustManifests
Trust Manifests (AI Catalog Trust Manifest Object), today only the registry's own,
contributordid:web:agent-registry.global.api.aws. Its one provenance link says how the registry got the record:relationispublishedFromfor a record its owner published anddiscoveredFromfor one the registry discovered at a partner source, withsourceIdasProvenanceLink.sourceIddescribes. Theprovenancefilter takes the same values (seeProvenanceRelation). It's left off when the registry can't name the source: afederatedFromrecord until the index carries the peer registry, a discovered record with no source, or a missing or unknown origin. The manifest is unsigned, so it attributes the claim to the registry and doesn't authenticate it.- Parameters:
trustManifests- Trust Manifests (AI Catalog Trust Manifest Object), today only the registry's own,contributordid:web:agent-registry.global.api.aws. Its one provenance link says how the registry got the record:relationispublishedFromfor a record its owner published anddiscoveredFromfor one the registry discovered at a partner source, withsourceIdasProvenanceLink.sourceIddescribes. Theprovenancefilter takes the same values (seeProvenanceRelation). It's left off when the registry can't name the source: afederatedFromrecord until the index carries the peer registry, a discovered record with no source, or a missing or unknown origin. The manifest is unsigned, so it attributes the claim to the registry and doesn't authenticate it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustManifests
Trust Manifests (AI Catalog Trust Manifest Object), today only the registry's own,
contributordid:web:agent-registry.global.api.aws. Its one provenance link says how the registry got the record:relationispublishedFromfor a record its owner published anddiscoveredFromfor one the registry discovered at a partner source, withsourceIdasProvenanceLink.sourceIddescribes. Theprovenancefilter takes the same values (seeProvenanceRelation). It's left off when the registry can't name the source: afederatedFromrecord until the index carries the peer registry, a discovered record with no source, or a missing or unknown origin. The manifest is unsigned, so it attributes the claim to the registry and doesn't authenticate it.- Parameters:
trustManifests- Trust Manifests (AI Catalog Trust Manifest Object), today only the registry's own,contributordid:web:agent-registry.global.api.aws. Its one provenance link says how the registry got the record:relationispublishedFromfor a record its owner published anddiscoveredFromfor one the registry discovered at a partner source, withsourceIdasProvenanceLink.sourceIddescribes. Theprovenancefilter takes the same values (seeProvenanceRelation). It's left off when the registry can't name the source: afederatedFromrecord until the index carries the peer registry, a discovered record with no source, or a missing or unknown origin. The manifest is unsigned, so it attributes the claim to the registry and doesn't authenticate it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustManifests
Trust Manifests (AI Catalog Trust Manifest Object), today only the registry's own,
This is a convenience method that creates an instance of thecontributordid:web:agent-registry.global.api.aws. Its one provenance link says how the registry got the record:relationispublishedFromfor a record its owner published anddiscoveredFromfor one the registry discovered at a partner source, withsourceIdasProvenanceLink.sourceIddescribes. Theprovenancefilter takes the same values (seeProvenanceRelation). It's left off when the registry can't name the source: afederatedFromrecord until the index carries the peer registry, a discovered record with no source, or a missing or unknown origin. The manifest is unsigned, so it attributes the claim to the registry and doesn't authenticate it.TrustManifest.Builderavoiding the need to create one manually viaTrustManifest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrustManifests(List<TrustManifest>).- Parameters:
trustManifests- a consumer that will call methods onTrustManifest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordVersion
The record's version string, set by its publisher. Left off when the record has none, for example a discovered record whose source carries no version.
- Parameters:
recordVersion- The record's version string, set by its publisher. Left off when the record has none, for example a discovered record whose source carries no version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
When the record was created.
- Parameters:
createdAt- When the record was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
When the record was last updated.
- Parameters:
updatedAt- When the record was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-