Interface UpdateRepositoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<UpdateRepositoryRequest.Builder,UpdateRepositoryRequest>,SdkBuilder<UpdateRepositoryRequest.Builder,UpdateRepositoryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateRepositoryRequest
public static interface UpdateRepositoryRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<UpdateRepositoryRequest.Builder,UpdateRepositoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateRepositoryRequest.Builderdescription(String description)An updated repository description.UpdateRepositoryRequest.Builderdomain(String domain)The name of the domain associated with the repository to update.UpdateRepositoryRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.UpdateRepositoryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateRepositoryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateRepositoryRequest.Builderrepository(String repository)The name of the repository to update.UpdateRepositoryRequest.Builderupstreams(Collection<UpstreamRepository> upstreams)A list of upstream repositories to associate with the repository.UpdateRepositoryRequest.Builderupstreams(Consumer<UpstreamRepository.Builder>... upstreams)A list of upstream repositories to associate with the repository.UpdateRepositoryRequest.Builderupstreams(UpstreamRepository... upstreams)A list of upstream repositories to associate with the repository.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
domain
UpdateRepositoryRequest.Builder domain(String domain)
The 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.
-
domainOwner
UpdateRepositoryRequest.Builder domainOwner(String domainOwner)
The 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.
-
repository
UpdateRepositoryRequest.Builder repository(String repository)
The 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.
-
description
UpdateRepositoryRequest.Builder description(String description)
An updated repository description.
- Parameters:
description- An updated repository description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upstreams
UpdateRepositoryRequest.Builder upstreams(Collection<UpstreamRepository> 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.
- 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.
-
upstreams
UpdateRepositoryRequest.Builder upstreams(UpstreamRepository... 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.
- 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.
-
upstreams
UpdateRepositoryRequest.Builder upstreams(Consumer<UpstreamRepository.Builder>... 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.
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 to#upstreams(List.) - Parameters:
upstreams- a consumer that will call methods onUpstreamRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#upstreams(java.util.Collection)
-
overrideConfiguration
UpdateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-