Interface RegistryRecordSummary.Builder

  • Method Details

    • registryArn

      RegistryRecordSummary.Builder registryArn(String registryArn)

      The Amazon Resource Name (ARN) of the parent registry that owns the record.

      Parameters:
      registryArn - The Amazon Resource Name (ARN) of the parent registry that owns the record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordArn

      RegistryRecordSummary.Builder recordArn(String recordArn)

      The Amazon Resource Name (ARN) of the registry record.

      Parameters:
      recordArn - The Amazon Resource Name (ARN) of the registry record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordId

      The unique identifier of the registry record.

      Parameters:
      recordId - The unique identifier of the registry record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the registry record. Names are unique within a registry.

      Parameters:
      name - The name of the registry record. Names are unique within a registry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      RegistryRecordSummary.Builder description(String description)

      A human-readable description of the registry record. Use this field to explain the record's purpose or content to consumers discovering it in the registry.

      Parameters:
      description - A human-readable description of the registry record. Use this field to explain the record's purpose or content to consumers discovering it in the registry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      RegistryRecordSummary.Builder displayName(String displayName)

      The human-readable display name of the registry record.

      Parameters:
      displayName - The human-readable display name of the registry record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordType

      RegistryRecordSummary.Builder recordType(String recordType)

      The type of the registry record. MCP is a Model Context Protocol server record, AGENT is an Agent-to-Agent (A2A) agent card record, SKILL is an agent skills definition record, and CUSTOM is a record with a custom descriptor.

      Parameters:
      recordType - The type of the registry record. MCP is a Model Context Protocol server record, AGENT is an Agent-to-Agent (A2A) agent card record, SKILL is an agent skills definition record, and CUSTOM is a record with a custom descriptor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recordType

      RegistryRecordSummary.Builder recordType(RecordType recordType)

      The type of the registry record. MCP is a Model Context Protocol server record, AGENT is an Agent-to-Agent (A2A) agent card record, SKILL is an agent skills definition record, and CUSTOM is a record with a custom descriptor.

      Parameters:
      recordType - The type of the registry record. MCP is a Model Context Protocol server record, AGENT is an Agent-to-Agent (A2A) agent card record, SKILL is an agent skills definition record, and CUSTOM is a record with a custom descriptor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • descriptors

      RegistryRecordSummary.Builder descriptors(Descriptors descriptors)

      The protocol-specific descriptors that describe how to connect to and use the record.

      Parameters:
      descriptors - The protocol-specific descriptors that describe how to connect to and use the record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • descriptors

      default RegistryRecordSummary.Builder descriptors(Consumer<Descriptors.Builder> descriptors)

      The protocol-specific descriptors that describe how to connect to and use the record.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to descriptors(Descriptors).

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

      RegistryRecordSummary.Builder recordVersion(String recordVersion)

      The version identifier of the registry record.

      Parameters:
      recordVersion - The version identifier of the registry record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The lifecycle status of the registry record. A record is DRAFT before it is submitted, PENDING_APPROVAL while awaiting curator review, and APPROVED once it is approved and discoverable. REJECTED and DEPRECATED records are not discoverable. The CREATING, UPDATING, CREATE_FAILED, and UPDATE_FAILED values reflect the state of an in-progress or failed asynchronous change.

      Parameters:
      status - The lifecycle status of the registry record. A record is DRAFT before it is submitted, PENDING_APPROVAL while awaiting curator review, and APPROVED once it is approved and discoverable. REJECTED and DEPRECATED records are not discoverable. The CREATING, UPDATING, CREATE_FAILED, and UPDATE_FAILED values reflect the state of an in-progress or failed asynchronous change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The lifecycle status of the registry record. A record is DRAFT before it is submitted, PENDING_APPROVAL while awaiting curator review, and APPROVED once it is approved and discoverable. REJECTED and DEPRECATED records are not discoverable. The CREATING, UPDATING, CREATE_FAILED, and UPDATE_FAILED values reflect the state of an in-progress or failed asynchronous change.

      Parameters:
      status - The lifecycle status of the registry record. A record is DRAFT before it is submitted, PENDING_APPROVAL while awaiting curator review, and APPROVED once it is approved and discoverable. REJECTED and DEPRECATED records are not discoverable. The CREATING, UPDATING, CREATE_FAILED, and UPDATE_FAILED values reflect the state of an in-progress or failed asynchronous change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      RegistryRecordSummary.Builder createdAt(Instant createdAt)

      The timestamp when the registry record was created.

      Parameters:
      createdAt - The timestamp when the registry record was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      RegistryRecordSummary.Builder updatedAt(Instant updatedAt)

      The timestamp when the registry record was last updated.

      Parameters:
      updatedAt - The timestamp when the registry record was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.