public static interface CreateRepositoryRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<CreateRepositoryRequest.Builder,CreateRepositoryRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateRepositoryRequest.Builder |
description(String description)
A description of the created repository.
|
CreateRepositoryRequest.Builder |
domain(String domain)
The name of the domain that contains the created repository.
|
CreateRepositoryRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
CreateRepositoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRepositoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateRepositoryRequest.Builder |
repository(String repository)
The name of the repository to create.
|
CreateRepositoryRequest.Builder |
tags(Collection<Tag> tags)
One or more tag key-value pairs for the repository.
|
CreateRepositoryRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
One or more tag key-value pairs for the repository.
|
CreateRepositoryRequest.Builder |
tags(Tag... tags)
One or more tag key-value pairs for the repository.
|
CreateRepositoryRequest.Builder |
upstreams(Collection<UpstreamRepository> upstreams)
A list of upstream repositories to associate with the repository.
|
CreateRepositoryRequest.Builder |
upstreams(Consumer<UpstreamRepository.Builder>... upstreams)
A list of upstream repositories to associate with the repository.
|
CreateRepositoryRequest.Builder |
upstreams(UpstreamRepository... upstreams)
A list of upstream repositories to associate with the repository.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRepositoryRequest.Builder domain(String domain)
The name of the domain that contains the created repository.
domain - The name of the domain that contains the created repository.CreateRepositoryRequest.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.CreateRepositoryRequest.Builder repository(String repository)
The name of the repository to create.
repository - The name of the repository to create.CreateRepositoryRequest.Builder description(String description)
A description of the created repository.
description - A description of the created repository.CreateRepositoryRequest.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.CreateRepositoryRequest.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.CreateRepositoryRequest.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) CreateRepositoryRequest.Builder tags(Collection<Tag> tags)
One or more tag key-value pairs for the repository.
tags - One or more tag key-value pairs for the repository.CreateRepositoryRequest.Builder tags(Tag... tags)
One or more tag key-value pairs for the repository.
tags - One or more tag key-value pairs for the repository.CreateRepositoryRequest.Builder tags(Consumer<Tag.Builder>... tags)
One or more tag key-value pairs for the repository.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.