public static interface RepositoryDescription.Builder extends SdkPojo, CopyableBuilder<RepositoryDescription.Builder,RepositoryDescription>
| Modifier and Type | Method and Description |
|---|---|
RepositoryDescription.Builder |
administratorAccount(String administratorAccount)
The 12-digit account number of the Amazon Web Services account that manages the repository.
|
RepositoryDescription.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the repository.
|
RepositoryDescription.Builder |
createdTime(Instant createdTime)
A timestamp that represents the date and time the repository was created.
|
RepositoryDescription.Builder |
description(String description)
A text description of the repository.
|
RepositoryDescription.Builder |
domainName(String domainName)
The name of the domain that contains the repository.
|
RepositoryDescription.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain that contains the
repository.
|
RepositoryDescription.Builder |
externalConnections(Collection<RepositoryExternalConnectionInfo> externalConnections)
An array of external connections associated with the repository.
|
RepositoryDescription.Builder |
externalConnections(Consumer<RepositoryExternalConnectionInfo.Builder>... externalConnections)
An array of external connections associated with the repository.
|
RepositoryDescription.Builder |
externalConnections(RepositoryExternalConnectionInfo... externalConnections)
An array of external connections associated with the repository.
|
RepositoryDescription.Builder |
name(String name)
The name of the repository.
|
RepositoryDescription.Builder |
upstreams(Collection<UpstreamRepositoryInfo> upstreams)
A list of upstream repositories to associate with the repository.
|
RepositoryDescription.Builder |
upstreams(Consumer<UpstreamRepositoryInfo.Builder>... upstreams)
A list of upstream repositories to associate with the repository.
|
RepositoryDescription.Builder |
upstreams(UpstreamRepositoryInfo... upstreams)
A list of upstream repositories to associate with the repository.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRepositoryDescription.Builder name(String name)
The name of the repository.
name - The name of the repository.RepositoryDescription.Builder administratorAccount(String administratorAccount)
The 12-digit account number of the Amazon Web Services account that manages the repository.
administratorAccount - The 12-digit account number of the Amazon Web Services account that manages the repository.RepositoryDescription.Builder domainName(String domainName)
The name of the domain that contains the repository.
domainName - The name of the domain that contains the repository.RepositoryDescription.Builder domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain that contains the
repository. It does not include dashes or spaces.RepositoryDescription.Builder arn(String arn)
The Amazon Resource Name (ARN) of the repository.
arn - The Amazon Resource Name (ARN) of the repository.RepositoryDescription.Builder description(String description)
A text description of the repository.
description - A text description of the repository.RepositoryDescription.Builder upstreams(Collection<UpstreamRepositoryInfo> 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.RepositoryDescription.Builder upstreams(UpstreamRepositoryInfo... 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.RepositoryDescription.Builder upstreams(Consumer<UpstreamRepositoryInfo.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 theUpstreamRepositoryInfo.Builder avoiding the need
to create one manually via
UpstreamRepositoryInfo.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
UpstreamRepositoryInfo.Builder#upstreams(java.util.Collection) RepositoryDescription.Builder externalConnections(Collection<RepositoryExternalConnectionInfo> externalConnections)
An array of external connections associated with the repository.
externalConnections - An array of external connections associated with the repository.RepositoryDescription.Builder externalConnections(RepositoryExternalConnectionInfo... externalConnections)
An array of external connections associated with the repository.
externalConnections - An array of external connections associated with the repository.RepositoryDescription.Builder externalConnections(Consumer<RepositoryExternalConnectionInfo.Builder>... externalConnections)
An array of external connections associated with the repository.
This is a convenience method that creates an instance of theRepositoryExternalConnectionInfo.Builder avoiding
the need to create one manually via
RepositoryExternalConnectionInfo.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #externalConnections(List.
externalConnections - a consumer that will call methods on
RepositoryExternalConnectionInfo.Builder#externalConnections(java.util.Collection) RepositoryDescription.Builder createdTime(Instant createdTime)
A timestamp that represents the date and time the repository was created.
createdTime - A timestamp that represents the date and time the repository was created.Copyright © 2023. All rights reserved.