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 AWS 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 AWS account that owns the domain. It does not include dashes or spaces.
domainOwner - The 12-digit account number of the AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #upstreams(List) .upstreams - a consumer that will call methods on List.Builder #upstreams(List) 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 that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.