Interface CreateRegistryRecordRequest.Builder

  • Method Details

    • registryId

      The identifier of the registry where the record will be created. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.

      Parameters:
      registryId - The identifier of the registry where the record will be created. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
      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

      CreateRegistryRecordRequest.Builder description(String description)

      A description of the registry record.

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

      CreateRegistryRecordRequest.Builder descriptorType(String descriptorType)

      The descriptor type of the registry record.

      • MCP - Model Context Protocol descriptor for MCP-compatible servers and tools.

      • A2A - Agent-to-Agent protocol descriptor.

      • CUSTOM - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol.

      • AGENT_SKILLS - Agent skills descriptor for defining agent skill definitions.

      Parameters:
      descriptorType - The descriptor type of the registry record.

      • MCP - Model Context Protocol descriptor for MCP-compatible servers and tools.

      • A2A - Agent-to-Agent protocol descriptor.

      • CUSTOM - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol.

      • AGENT_SKILLS - Agent skills descriptor for defining agent skill definitions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • descriptorType

      CreateRegistryRecordRequest.Builder descriptorType(DescriptorType descriptorType)

      The descriptor type of the registry record.

      • MCP - Model Context Protocol descriptor for MCP-compatible servers and tools.

      • A2A - Agent-to-Agent protocol descriptor.

      • CUSTOM - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol.

      • AGENT_SKILLS - Agent skills descriptor for defining agent skill definitions.

      Parameters:
      descriptorType - The descriptor type of the registry record.

      • MCP - Model Context Protocol descriptor for MCP-compatible servers and tools.

      • A2A - Agent-to-Agent protocol descriptor.

      • CUSTOM - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol.

      • AGENT_SKILLS - Agent skills descriptor for defining agent skill definitions.

      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. The structure of this field depends on the descriptorType you specify.

      Parameters:
      descriptors - The descriptor-type-specific configuration containing the resource schema and metadata. The structure of this field depends on the descriptorType you specify.
      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. The structure of this field depends on the descriptorType you specify.

      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

      CreateRegistryRecordRequest.Builder recordVersion(String recordVersion)

      The version of the registry record. Use this to track different versions of the record's content.

      Parameters:
      recordVersion - The version of the registry record. Use this to track different versions of the record's content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • synchronizationType

      CreateRegistryRecordRequest.Builder synchronizationType(String synchronizationType)

      The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include FROM_URL and NONE.

      Parameters:
      synchronizationType - The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include FROM_URL and NONE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • synchronizationType

      CreateRegistryRecordRequest.Builder synchronizationType(SynchronizationType synchronizationType)

      The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include FROM_URL and NONE.

      Parameters:
      synchronizationType - The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include FROM_URL and NONE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • synchronizationConfiguration

      CreateRegistryRecordRequest.Builder synchronizationConfiguration(SynchronizationConfiguration synchronizationConfiguration)

      The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.

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

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

      The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.

      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:
    • clientToken

      CreateRegistryRecordRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateRegistryRecordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.