public static interface UpdatePackageVersionsStatusRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<UpdatePackageVersionsStatusRequest.Builder,UpdatePackageVersionsStatusRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdatePackageVersionsStatusRequest.Builder |
domain(String domain)
The name of the domain that contains the repository that contains the package versions with a status to be
updated.
|
UpdatePackageVersionsStatusRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
UpdatePackageVersionsStatusRequest.Builder |
expectedStatus(PackageVersionStatus expectedStatus)
The package version’s expected status before it is updated.
|
UpdatePackageVersionsStatusRequest.Builder |
expectedStatus(String expectedStatus)
The package version’s expected status before it is updated.
|
UpdatePackageVersionsStatusRequest.Builder |
format(PackageFormat format)
A format that specifies the type of the package with the statuses to update.
|
UpdatePackageVersionsStatusRequest.Builder |
format(String format)
A format that specifies the type of the package with the statuses to update.
|
UpdatePackageVersionsStatusRequest.Builder |
namespace(String namespace)
The namespace of the package.
|
UpdatePackageVersionsStatusRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdatePackageVersionsStatusRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdatePackageVersionsStatusRequest.Builder |
packageValue(String packageValue)
The name of the package with the version statuses to update.
|
UpdatePackageVersionsStatusRequest.Builder |
repository(String repository)
The repository that contains the package versions with the status you want to update.
|
UpdatePackageVersionsStatusRequest.Builder |
targetStatus(PackageVersionStatus targetStatus)
The status you want to change the package version status to.
|
UpdatePackageVersionsStatusRequest.Builder |
targetStatus(String targetStatus)
The status you want to change the package version status to.
|
UpdatePackageVersionsStatusRequest.Builder |
versionRevisions(Map<String,String> versionRevisions)
A map of package versions and package version revisions.
|
UpdatePackageVersionsStatusRequest.Builder |
versions(Collection<String> versions)
An array of strings that specify the versions of the package with the statuses to update.
|
UpdatePackageVersionsStatusRequest.Builder |
versions(String... versions)
An array of strings that specify the versions of the package with the statuses to update.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdatePackageVersionsStatusRequest.Builder domain(String domain)
The name of the domain that contains the repository that contains the package versions with a status to be updated.
domain - The name of the domain that contains the repository that contains the package versions with a status
to be updated.UpdatePackageVersionsStatusRequest.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.UpdatePackageVersionsStatusRequest.Builder repository(String repository)
The repository that contains the package versions with the status you want to update.
repository - The repository that contains the package versions with the status you want to update.UpdatePackageVersionsStatusRequest.Builder format(String format)
A format that specifies the type of the package with the statuses to update. The valid values are:
npm
pypi
maven
format - A format that specifies the type of the package with the statuses to update. The valid values are:
npm
pypi
maven
PackageFormat,
PackageFormatUpdatePackageVersionsStatusRequest.Builder format(PackageFormat format)
A format that specifies the type of the package with the statuses to update. The valid values are:
npm
pypi
maven
format - A format that specifies the type of the package with the statuses to update. The valid values are:
npm
pypi
maven
PackageFormat,
PackageFormatUpdatePackageVersionsStatusRequest.Builder namespace(String namespace)
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
namespace - The namespace of the package. The package component that specifies its namespace depends on its type.
For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
UpdatePackageVersionsStatusRequest.Builder packageValue(String packageValue)
The name of the package with the version statuses to update.
packageValue - The name of the package with the version statuses to update.UpdatePackageVersionsStatusRequest.Builder versions(Collection<String> versions)
An array of strings that specify the versions of the package with the statuses to update.
versions - An array of strings that specify the versions of the package with the statuses to update.UpdatePackageVersionsStatusRequest.Builder versions(String... versions)
An array of strings that specify the versions of the package with the statuses to update.
versions - An array of strings that specify the versions of the package with the statuses to update.UpdatePackageVersionsStatusRequest.Builder versionRevisions(Map<String,String> versionRevisions)
A map of package versions and package version revisions. The map key is the package version (for
example, 3.5.2), and the map value is the package version revision.
versionRevisions - A map of package versions and package version revisions. The map key is the package
version (for example, 3.5.2), and the map value is the package version
revision.UpdatePackageVersionsStatusRequest.Builder expectedStatus(String expectedStatus)
The package version’s expected status before it is updated. If expectedStatus is provided, the
package version's status is updated only if its status at the time UpdatePackageVersionsStatus
is called matches expectedStatus.
expectedStatus - The package version’s expected status before it is updated. If expectedStatus is
provided, the package version's status is updated only if its status at the time
UpdatePackageVersionsStatus is called matches expectedStatus.PackageVersionStatus,
PackageVersionStatusUpdatePackageVersionsStatusRequest.Builder expectedStatus(PackageVersionStatus expectedStatus)
The package version’s expected status before it is updated. If expectedStatus is provided, the
package version's status is updated only if its status at the time UpdatePackageVersionsStatus
is called matches expectedStatus.
expectedStatus - The package version’s expected status before it is updated. If expectedStatus is
provided, the package version's status is updated only if its status at the time
UpdatePackageVersionsStatus is called matches expectedStatus.PackageVersionStatus,
PackageVersionStatusUpdatePackageVersionsStatusRequest.Builder targetStatus(String targetStatus)
The status you want to change the package version status to.
targetStatus - The status you want to change the package version status to.PackageVersionStatus,
PackageVersionStatusUpdatePackageVersionsStatusRequest.Builder targetStatus(PackageVersionStatus targetStatus)
The status you want to change the package version status to.
targetStatus - The status you want to change the package version status to.PackageVersionStatus,
PackageVersionStatusUpdatePackageVersionsStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdatePackageVersionsStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.