public static interface UpdateRepositoryRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<UpdateRepositoryRequest.Builder,UpdateRepositoryRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateRepositoryRequest.Builder |
description(String description)
An updated repository description.
|
UpdateRepositoryRequest.Builder |
domain(String domain)
The name of the domain associated with the repository to update.
|
UpdateRepositoryRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
UpdateRepositoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateRepositoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateRepositoryRequest.Builder |
repository(String repository)
The name of the repository to update.
|
UpdateRepositoryRequest.Builder |
upstreams(Collection<UpstreamRepository> upstreams)
A list of upstream repositories to associate with the repository.
|
UpdateRepositoryRequest.Builder |
upstreams(Consumer<UpstreamRepository.Builder>... upstreams)
A list of upstream repositories to associate with the repository.
|
UpdateRepositoryRequest.Builder |
upstreams(UpstreamRepository... upstreams)
A list of upstream repositories to associate with the repository.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateRepositoryRequest.Builder domain(String domain)
The name of the domain associated with the repository to update.
domain - The name of the domain associated with the repository to update.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.
domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not
include dashes or spaces.UpdateRepositoryRequest.Builder repository(String repository)
The name of the repository to update.
repository - The name of the repository to update.UpdateRepositoryRequest.Builder description(String description)
An updated repository description.
description - An updated repository description.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.
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.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.
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.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.Builder avoiding the need to
create one manually via
UpstreamRepository.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #upstreams(List.
upstreams - a consumer that will call methods on
UpstreamRepository.Builder#upstreams(java.util.Collection) UpdateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.