public static interface CopyPackageVersionsRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<CopyPackageVersionsRequest.Builder,CopyPackageVersionsRequest>
| Modifier and Type | Method and Description |
|---|---|
CopyPackageVersionsRequest.Builder |
allowOverwrite(Boolean allowOverwrite)
Set to true to overwrite a package version that already exists in the destination repository.
|
CopyPackageVersionsRequest.Builder |
destinationRepository(String destinationRepository)
The name of the repository into which package versions are copied.
|
CopyPackageVersionsRequest.Builder |
domain(String domain)
The name of the domain that contains the source and destination repositories.
|
CopyPackageVersionsRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
CopyPackageVersionsRequest.Builder |
format(PackageFormat format)
The format of the package versions to be copied.
|
CopyPackageVersionsRequest.Builder |
format(String format)
The format of the package versions to be copied.
|
CopyPackageVersionsRequest.Builder |
includeFromUpstream(Boolean includeFromUpstream)
Set to true to copy packages from repositories that are upstream from the source repository to the
destination repository.
|
CopyPackageVersionsRequest.Builder |
namespace(String namespace)
The namespace of the package versions to be copied.
|
CopyPackageVersionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CopyPackageVersionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CopyPackageVersionsRequest.Builder |
packageValue(String packageValue)
The name of the package that contains the versions to be copied.
|
CopyPackageVersionsRequest.Builder |
sourceRepository(String sourceRepository)
The name of the repository that contains the package versions to be copied.
|
CopyPackageVersionsRequest.Builder |
versionRevisions(Map<String,String> versionRevisions)
A list of key-value pairs.
|
CopyPackageVersionsRequest.Builder |
versions(Collection<String> versions)
The versions of the package to be copied.
|
CopyPackageVersionsRequest.Builder |
versions(String... versions)
The versions of the package to be copied.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCopyPackageVersionsRequest.Builder domain(String domain)
The name of the domain that contains the source and destination repositories.
domain - The name of the domain that contains the source and destination repositories.CopyPackageVersionsRequest.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.CopyPackageVersionsRequest.Builder sourceRepository(String sourceRepository)
The name of the repository that contains the package versions to be copied.
sourceRepository - The name of the repository that contains the package versions to be copied.CopyPackageVersionsRequest.Builder destinationRepository(String destinationRepository)
The name of the repository into which package versions are copied.
destinationRepository - The name of the repository into which package versions are copied.CopyPackageVersionsRequest.Builder format(String format)
The format of the package versions to be copied.
format - The format of the package versions to be copied.PackageFormat,
PackageFormatCopyPackageVersionsRequest.Builder format(PackageFormat format)
The format of the package versions to be copied.
format - The format of the package versions to be copied.PackageFormat,
PackageFormatCopyPackageVersionsRequest.Builder namespace(String namespace)
The namespace of the package versions to be copied. The package version component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId. The namespace is required when copying
Maven package versions.
The namespace of an npm package version is its scope.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of a generic package is its namespace.
namespace - The namespace of the package versions to be copied. The package version component that specifies its
namespace depends on its type. For example:
The namespace of a Maven package version is its groupId. The namespace is required when
copying Maven package versions.
The namespace of an npm package version is its scope.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of a generic package is its namespace.
CopyPackageVersionsRequest.Builder packageValue(String packageValue)
The name of the package that contains the versions to be copied.
packageValue - The name of the package that contains the versions to be copied.CopyPackageVersionsRequest.Builder versions(Collection<String> versions)
The versions of the package to be copied.
You must specify versions or versionRevisions. You cannot specify both.
versions - The versions of the package to be copied.
You must specify versions or versionRevisions. You cannot specify both.
CopyPackageVersionsRequest.Builder versions(String... versions)
The versions of the package to be copied.
You must specify versions or versionRevisions. You cannot specify both.
versions - The versions of the package to be copied.
You must specify versions or versionRevisions. You cannot specify both.
CopyPackageVersionsRequest.Builder versionRevisions(Map<String,String> versionRevisions)
A list of key-value pairs. The keys are package versions and the values are package version revisions. A
CopyPackageVersion operation succeeds if the specified versions in the source repository match
the specified package version revision.
You must specify versions or versionRevisions. You cannot specify both.
versionRevisions - A list of key-value pairs. The keys are package versions and the values are package version revisions.
A CopyPackageVersion operation succeeds if the specified versions in the source
repository match the specified package version revision.
You must specify versions or versionRevisions. You cannot specify both.
CopyPackageVersionsRequest.Builder allowOverwrite(Boolean allowOverwrite)
Set to true to overwrite a package version that already exists in the destination repository. If set to false
and the package version already exists in the destination repository, the package version is returned in the
failedVersions field of the response with an ALREADY_EXISTS error code.
allowOverwrite - Set to true to overwrite a package version that already exists in the destination repository. If set
to false and the package version already exists in the destination repository, the package version is
returned in the failedVersions field of the response with an ALREADY_EXISTS
error code.CopyPackageVersionsRequest.Builder includeFromUpstream(Boolean includeFromUpstream)
Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories.
includeFromUpstream - Set to true to copy packages from repositories that are upstream from the source repository to the
destination repository. The default setting is false. For more information, see Working with upstream
repositories.CopyPackageVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCopyPackageVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.