Interface UpdateRegistryRecordRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateRegistryRecordRequest.Builder,,UpdateRegistryRecordRequest> SdkBuilder<UpdateRegistryRecordRequest.Builder,,UpdateRegistryRecordRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRegistryRecordRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(Consumer<UpdatedDescription.Builder> description) The updated description for the registry record.description(UpdatedDescription description) The updated description for the registry record.descriptors(Consumer<UpdatedDescriptors.Builder> descriptors) The updated descriptor-type-specific configuration containing the resource schema and metadata.descriptors(UpdatedDescriptors descriptors) The updated descriptor-type-specific configuration containing the resource schema and metadata.descriptorType(String descriptorType) The updated descriptor type for the registry record.descriptorType(DescriptorType descriptorType) The updated descriptor type for the registry record.The updated name for the registry record.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the registry record to update.recordVersion(String recordVersion) The version of the registry record for optimistic locking.registryId(String registryId) The identifier of the registry containing the record.synchronizationConfiguration(Consumer<UpdatedSynchronizationConfiguration.Builder> synchronizationConfiguration) The updated synchronization configuration for the registry record.synchronizationConfiguration(UpdatedSynchronizationConfiguration synchronizationConfiguration) The updated synchronization configuration for the registry record.synchronizationType(Consumer<UpdatedSynchronizationType.Builder> synchronizationType) The updated synchronization type for the registry record.synchronizationType(UpdatedSynchronizationType synchronizationType) The updated synchronization type for the registry record.triggerSynchronization(Boolean triggerSynchronization) Whether to trigger synchronization using the stored or provided configuration.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 containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
- Parameters:
registryId- The identifier of the registry containing the record. 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.
-
recordId
The identifier of the registry record to update. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
- Parameters:
recordId- The identifier of the registry record to update. You can specify either the Amazon Resource Name (ARN) or the ID of the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name for the registry record.
- Parameters:
name- The updated name for the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description for the registry record. To clear the description, include the
UpdatedDescriptionwrapper withoptionalValuenot specified.- Parameters:
description- The updated description for the registry record. To clear the description, include theUpdatedDescriptionwrapper withoptionalValuenot specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
default UpdateRegistryRecordRequest.Builder description(Consumer<UpdatedDescription.Builder> description) The updated description for the registry record. To clear the description, include the
This is a convenience method that creates an instance of theUpdatedDescriptionwrapper withoptionalValuenot specified.UpdatedDescription.Builderavoiding the need to create one manually viaUpdatedDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todescription(UpdatedDescription).- Parameters:
description- a consumer that will call methods onUpdatedDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
descriptorType
The updated descriptor type for the registry record. Changing the descriptor type may require updating the
descriptorsfield to match the new type's schema requirements.- Parameters:
descriptorType- The updated descriptor type for the registry record. Changing the descriptor type may require updating thedescriptorsfield to match the new type's schema requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
descriptorType
The updated descriptor type for the registry record. Changing the descriptor type may require updating the
descriptorsfield to match the new type's schema requirements.- Parameters:
descriptorType- The updated descriptor type for the registry record. Changing the descriptor type may require updating thedescriptorsfield to match the new type's schema requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
descriptors
The updated descriptor-type-specific configuration containing the resource schema and metadata. Uses PATCH semantics where individual descriptor fields can be updated independently.
- Parameters:
descriptors- The updated descriptor-type-specific configuration containing the resource schema and metadata. Uses PATCH semantics where individual descriptor fields can be updated independently.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptors
default UpdateRegistryRecordRequest.Builder descriptors(Consumer<UpdatedDescriptors.Builder> descriptors) The updated descriptor-type-specific configuration containing the resource schema and metadata. Uses PATCH semantics where individual descriptor fields can be updated independently.
This is a convenience method that creates an instance of theUpdatedDescriptors.Builderavoiding the need to create one manually viaUpdatedDescriptors.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todescriptors(UpdatedDescriptors).- Parameters:
descriptors- a consumer that will call methods onUpdatedDescriptors.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 for optimistic locking. If provided, it must match the current version of the record. The service automatically increments the version after a successful update.
- Parameters:
recordVersion- The version of the registry record for optimistic locking. If provided, it must match the current version of the record. The service automatically increments the version after a successful update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synchronizationType
UpdateRegistryRecordRequest.Builder synchronizationType(UpdatedSynchronizationType synchronizationType) The updated synchronization type for the registry record.
- Parameters:
synchronizationType- The updated synchronization type for the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synchronizationType
default UpdateRegistryRecordRequest.Builder synchronizationType(Consumer<UpdatedSynchronizationType.Builder> synchronizationType) The updated synchronization type for the registry record.
This is a convenience method that creates an instance of theUpdatedSynchronizationType.Builderavoiding the need to create one manually viaUpdatedSynchronizationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosynchronizationType(UpdatedSynchronizationType).- Parameters:
synchronizationType- a consumer that will call methods onUpdatedSynchronizationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
synchronizationConfiguration
UpdateRegistryRecordRequest.Builder synchronizationConfiguration(UpdatedSynchronizationConfiguration synchronizationConfiguration) The updated synchronization configuration for the registry record.
- Parameters:
synchronizationConfiguration- The updated synchronization configuration for the registry record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synchronizationConfiguration
default UpdateRegistryRecordRequest.Builder synchronizationConfiguration(Consumer<UpdatedSynchronizationConfiguration.Builder> synchronizationConfiguration) The updated synchronization configuration for the registry record.
This is a convenience method that creates an instance of theUpdatedSynchronizationConfiguration.Builderavoiding the need to create one manually viaUpdatedSynchronizationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosynchronizationConfiguration(UpdatedSynchronizationConfiguration).- Parameters:
synchronizationConfiguration- a consumer that will call methods onUpdatedSynchronizationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerSynchronization
Whether to trigger synchronization using the stored or provided configuration. When set to
true, the service will synchronize the record metadata from the configured external source.- Parameters:
triggerSynchronization- Whether to trigger synchronization using the stored or provided configuration. When set totrue, the service will synchronize the record metadata from the configured external source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRegistryRecordRequest.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
UpdateRegistryRecordRequest.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.
-