Interface UpdateRegistryRequest.Builder
- All Superinterfaces:
AgentRegistryControlRequest.Builder,AwsRequest.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.approvalConfiguration(UpdatedApprovalConfiguration approvalConfiguration) The updated approval configuration.default UpdateRegistryRequest.Builderdescription(Consumer<UpdatedDescription.Builder> description) The updated description of the registrydescription(UpdatedDescription description) The updated description of the registrydefault UpdateRegistryRequest.BuilderdiscoveryConfiguration(Consumer<UpdatedDiscoveryConfiguration.Builder> discoveryConfiguration) The updated discovery configuration.discoveryConfiguration(UpdatedDiscoveryConfiguration discoveryConfiguration) The updated discovery configuration.The updated name of the registryoverrideConfiguration(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 (ARN or ID)Methods inherited from interface software.amazon.awssdk.services.agentregistrycontrol.model.AgentRegistryControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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 (ARN or ID)
- Parameters:
registryId- The identifier of the registry to update (ARN or ID)- 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
- Parameters:
description- The updated description 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
This is a convenience method that creates an instance of theUpdatedDescription.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:
-
discoveryConfiguration
UpdateRegistryRequest.Builder discoveryConfiguration(UpdatedDiscoveryConfiguration discoveryConfiguration) The updated discovery configuration. Changing the discovery authorization can break existing consumers that rely on the previous authorization type.
- Parameters:
discoveryConfiguration- The updated discovery configuration. Changing the discovery authorization can break existing consumers that rely on the previous authorization type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discoveryConfiguration
default UpdateRegistryRequest.Builder discoveryConfiguration(Consumer<UpdatedDiscoveryConfiguration.Builder> discoveryConfiguration) The updated discovery configuration. Changing the discovery authorization can break existing consumers that rely on the previous authorization type.
This is a convenience method that creates an instance of theUpdatedDiscoveryConfiguration.Builderavoiding the need to create one manually viaUpdatedDiscoveryConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todiscoveryConfiguration(UpdatedDiscoveryConfiguration).- Parameters:
discoveryConfiguration- a consumer that will call methods onUpdatedDiscoveryConfiguration.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. The change applies only to records that move to PENDING_APPROVAL after the update; records already in PENDING_APPROVAL are unaffected.
- Parameters:
approvalConfiguration- The updated approval configuration. The change applies only to records that move to PENDING_APPROVAL after the update; records already in PENDING_APPROVAL are unaffected.- 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. The change applies only to records that move to PENDING_APPROVAL after the update; records already in PENDING_APPROVAL are unaffected.
This is a convenience method that creates an instance of theUpdatedApprovalConfiguration.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.
-