Interface GetRegistryRecordResponse.Builder

  • Method Details

    • registryArn

      GetRegistryRecordResponse.Builder registryArn(String registryArn)

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

      Parameters:
      registryArn - The Amazon Resource Name (ARN) of the registry that contains the record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

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

      GetRegistryRecordResponse.Builder description(String description)

      The description of the registry record.

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

      GetRegistryRecordResponse.Builder descriptorType(String descriptorType)

      The descriptor type of the registry record. Possible values are MCP, A2A, CUSTOM, and AGENT_SKILLS.

      Parameters:
      descriptorType - The descriptor type of the registry record. Possible values are MCP, A2A, CUSTOM, and AGENT_SKILLS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • descriptorType

      GetRegistryRecordResponse.Builder descriptorType(DescriptorType descriptorType)

      The descriptor type of the registry record. Possible values are MCP, A2A, CUSTOM, and AGENT_SKILLS.

      Parameters:
      descriptorType - The descriptor type of the registry record. Possible values are MCP, A2A, CUSTOM, and AGENT_SKILLS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • descriptors

      The descriptor-type-specific configuration containing the resource schema and metadata. For details, see the Descriptors data type.

      Parameters:
      descriptors - The descriptor-type-specific configuration containing the resource schema and metadata. For details, see the Descriptors data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • descriptors

      The descriptor-type-specific configuration containing the resource schema and metadata. For details, see the Descriptors data type.

      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

      GetRegistryRecordResponse.Builder recordVersion(String recordVersion)

      The version of the registry record.

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

      The current status of the registry record. Possible values include CREATING, DRAFT, APPROVED, PENDING_APPROVAL, REJECTED, DEPRECATED, UPDATING, CREATE_FAILED, and UPDATE_FAILED. A record transitions from CREATING to DRAFT, then to PENDING_APPROVAL (via SubmitRegistryRecordForApproval), and finally to APPROVED upon approval.

      Parameters:
      status - The current status of the registry record. Possible values include CREATING, DRAFT, APPROVED, PENDING_APPROVAL, REJECTED, DEPRECATED, UPDATING, CREATE_FAILED, and UPDATE_FAILED. A record transitions from CREATING to DRAFT, then to PENDING_APPROVAL (via SubmitRegistryRecordForApproval), and finally to APPROVED upon approval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the registry record. Possible values include CREATING, DRAFT, APPROVED, PENDING_APPROVAL, REJECTED, DEPRECATED, UPDATING, CREATE_FAILED, and UPDATE_FAILED. A record transitions from CREATING to DRAFT, then to PENDING_APPROVAL (via SubmitRegistryRecordForApproval), and finally to APPROVED upon approval.

      Parameters:
      status - The current status of the registry record. Possible values include CREATING, DRAFT, APPROVED, PENDING_APPROVAL, REJECTED, DEPRECATED, UPDATING, CREATE_FAILED, and UPDATE_FAILED. A record transitions from CREATING to DRAFT, then to PENDING_APPROVAL (via SubmitRegistryRecordForApproval), and finally to APPROVED upon approval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.
    • statusReason

      GetRegistryRecordResponse.Builder statusReason(String statusReason)

      The reason for the current status, typically set when the status is a failure state.

      Parameters:
      statusReason - The reason for the current status, typically set when the status is a failure state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • synchronizationType

      GetRegistryRecordResponse.Builder synchronizationType(String synchronizationType)

      The type of synchronization used for this record.

      Parameters:
      synchronizationType - The type of synchronization used for this record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • synchronizationType

      GetRegistryRecordResponse.Builder synchronizationType(SynchronizationType synchronizationType)

      The type of synchronization used for this record.

      Parameters:
      synchronizationType - The type of synchronization used for this record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • synchronizationConfiguration

      GetRegistryRecordResponse.Builder synchronizationConfiguration(SynchronizationConfiguration synchronizationConfiguration)

      The configuration for synchronizing registry record metadata from an external source.

      Parameters:
      synchronizationConfiguration - The configuration for synchronizing registry record metadata from an external source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • synchronizationConfiguration

      default GetRegistryRecordResponse.Builder synchronizationConfiguration(Consumer<SynchronizationConfiguration.Builder> synchronizationConfiguration)

      The configuration for synchronizing registry record metadata from an external source.

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

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

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