Interface UpdateRepositoryRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CodeartifactRequest.Builder,- CopyableBuilder<UpdateRepositoryRequest.Builder,,- UpdateRepositoryRequest> - SdkBuilder<UpdateRepositoryRequest.Builder,,- UpdateRepositoryRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UpdateRepositoryRequest
- 
Method SummaryModifier and TypeMethodDescriptiondescription(String description) An updated repository description.The name of the domain associated with the repository to update.domainOwner(String domainOwner) The 12-digit account number of the Amazon Web Services account that owns the domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.repository(String repository) The name of the repository to update.upstreams(Collection<UpstreamRepository> upstreams) A list of upstream repositories to associate with the repository.upstreams(Consumer<UpstreamRepository.Builder>... upstreams) A list of upstream repositories to associate with the repository.upstreams(UpstreamRepository... upstreams) A list of upstream repositories to associate with the repository.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
domainThe name of the domain associated with the repository to update. - Parameters:
- domain- The name of the domain associated with the repository to update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
domainOwnerThe 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. - Parameters:
- domainOwner- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
repositoryThe name of the repository to update. - Parameters:
- repository- The name of the repository to update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionAn updated repository description. - Parameters:
- description- An updated repository description.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
upstreamsA list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. - Parameters:
- upstreams- A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
upstreamsA list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. - Parameters:
- upstreams- A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
upstreamsA list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories. This is a convenience method that creates an instance of theUpstreamRepository.Builderavoiding the need to create one manually viaUpstreamRepository.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupstreams(List<UpstreamRepository>).- Parameters:
- upstreams- a consumer that will call methods on- UpstreamRepository.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-