Interface CreateRegistryRecordRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<CreateRegistryRecordRequest.Builder,,CreateRegistryRecordRequest> SdkBuilder<CreateRegistryRecordRequest.Builder,,CreateRegistryRecordRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRegistryRecordRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.description(String description) A description of the registry record.descriptors(Consumer<Descriptors.Builder> descriptors) The descriptor-type-specific configuration containing the resource schema and metadata.descriptors(Descriptors descriptors) The descriptor-type-specific configuration containing the resource schema and metadata.descriptorType(String descriptorType) The descriptor type of the registry record.descriptorType(DescriptorType descriptorType) The descriptor type of the registry record.The name of the registry record.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recordVersion(String recordVersion) The version of the registry record.registryId(String registryId) The identifier of the registry where the record will be created.synchronizationConfiguration(Consumer<SynchronizationConfiguration.Builder> synchronizationConfiguration) The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.synchronizationConfiguration(SynchronizationConfiguration synchronizationConfiguration) The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.synchronizationType(String synchronizationType) The type of synchronization to use for keeping the record metadata up to date from an external source.synchronizationType(SynchronizationType synchronizationType) The type of synchronization to use for keeping the record metadata up to date from an external source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods 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
-
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
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
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
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
descriptorTypeyou specify.- Parameters:
descriptors- The descriptor-type-specific configuration containing the resource schema and metadata. The structure of this field depends on thedescriptorTypeyou 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
This is a convenience method that creates an instance of thedescriptorTypeyou specify.Descriptors.Builderavoiding the need to create one manually viaDescriptors.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todescriptors(Descriptors).- Parameters:
descriptors- a consumer that will call methods onDescriptors.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include
FROM_URLandNONE.- Parameters:
synchronizationType- The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values includeFROM_URLandNONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
synchronizationType
The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include
FROM_URLandNONE.- Parameters:
synchronizationType- The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values includeFROM_URLandNONE.- 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 theSynchronizationConfiguration.Builderavoiding the need to create one manually viaSynchronizationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosynchronizationConfiguration(SynchronizationConfiguration).- Parameters:
synchronizationConfiguration- a consumer that will call methods onSynchronizationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRegistryRecordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-