Interface UpdateRegistryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateRegistryRequest.Builder,,UpdateRegistryRequest> SdkBuilder<UpdateRegistryRequest.Builder,,UpdateRegistryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRegistryRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateRegistryRequest.BuilderapprovalConfiguration(Consumer<UpdatedApprovalConfiguration.Builder> approvalConfiguration) The updated approval configuration for registry records.approvalConfiguration(UpdatedApprovalConfiguration approvalConfiguration) The updated approval configuration for registry records.default UpdateRegistryRequest.BuilderauthorizerConfiguration(Consumer<UpdatedAuthorizerConfiguration.Builder> authorizerConfiguration) The updated authorizer configuration for the registry.authorizerConfiguration(UpdatedAuthorizerConfiguration authorizerConfiguration) The updated authorizer configuration for the registry.default UpdateRegistryRequest.Builderdescription(Consumer<UpdatedDescription.Builder> description) The updated description of the registry.description(UpdatedDescription description) The updated description of the registry.The updated name of the registry.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.registryId(String registryId) The identifier of the registry to update.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 to update. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
- Parameters:
registryId- The identifier of the registry to update. 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 updated name of the registry.
- Parameters:
name- The updated name of the registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the registry. To clear the description, include the
UpdatedDescriptionwrapper withoptionalValuenot specified.- Parameters:
description- The updated description of the registry. To clear the description, include theUpdatedDescriptionwrapper withoptionalValuenot specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the registry. 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:
-
authorizerConfiguration
UpdateRegistryRequest.Builder authorizerConfiguration(UpdatedAuthorizerConfiguration authorizerConfiguration) The updated authorizer configuration for the registry. Changing the authorizer configuration can break existing consumers of the registry who are using the authorization type prior to the update.
- Parameters:
authorizerConfiguration- The updated authorizer configuration for the registry. Changing the authorizer configuration can break existing consumers of the registry who are using the authorization type prior to the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfiguration
default UpdateRegistryRequest.Builder authorizerConfiguration(Consumer<UpdatedAuthorizerConfiguration.Builder> authorizerConfiguration) The updated authorizer configuration for the registry. Changing the authorizer configuration can break existing consumers of the registry who are using the authorization type prior to the update.
This is a convenience method that creates an instance of theUpdatedAuthorizerConfiguration.Builderavoiding the need to create one manually viaUpdatedAuthorizerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizerConfiguration(UpdatedAuthorizerConfiguration).- Parameters:
authorizerConfiguration- a consumer that will call methods onUpdatedAuthorizerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approvalConfiguration
UpdateRegistryRequest.Builder approvalConfiguration(UpdatedApprovalConfiguration approvalConfiguration) The updated approval configuration for registry records. The updated configuration only affects new records that move to
PENDING_APPROVALstatus after the change. Existing records already inPENDING_APPROVALstatus are not affected.- Parameters:
approvalConfiguration- The updated approval configuration for registry records. The updated configuration only affects new records that move toPENDING_APPROVALstatus after the change. Existing records already inPENDING_APPROVALstatus are not affected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalConfiguration
default UpdateRegistryRequest.Builder approvalConfiguration(Consumer<UpdatedApprovalConfiguration.Builder> approvalConfiguration) The updated approval configuration for registry records. The updated configuration only affects new records that move to
This is a convenience method that creates an instance of thePENDING_APPROVALstatus after the change. Existing records already inPENDING_APPROVALstatus are not affected.UpdatedApprovalConfiguration.Builderavoiding the need to create one manually viaUpdatedApprovalConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapprovalConfiguration(UpdatedApprovalConfiguration).- Parameters:
approvalConfiguration- a consumer that will call methods onUpdatedApprovalConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRegistryRequest.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
UpdateRegistryRequest.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.
-