Interface UpdatePackageVersionsStatusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<UpdatePackageVersionsStatusRequest.Builder,UpdatePackageVersionsStatusRequest>,SdkBuilder<UpdatePackageVersionsStatusRequest.Builder,UpdatePackageVersionsStatusRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePackageVersionsStatusRequest
public static interface UpdatePackageVersionsStatusRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<UpdatePackageVersionsStatusRequest.Builder,UpdatePackageVersionsStatusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePackageVersionsStatusRequest.Builderdomain(String domain)The name of the domain that contains the repository that contains the package versions with a status to be updated.UpdatePackageVersionsStatusRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.UpdatePackageVersionsStatusRequest.BuilderexpectedStatus(String expectedStatus)The package version’s expected status before it is updated.UpdatePackageVersionsStatusRequest.BuilderexpectedStatus(PackageVersionStatus expectedStatus)The package version’s expected status before it is updated.UpdatePackageVersionsStatusRequest.Builderformat(String format)A format that specifies the type of the package with the statuses to update.UpdatePackageVersionsStatusRequest.Builderformat(PackageFormat format)A format that specifies the type of the package with the statuses to update.UpdatePackageVersionsStatusRequest.Buildernamespace(String namespace)The namespace of the package version to be updated.UpdatePackageVersionsStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePackageVersionsStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePackageVersionsStatusRequest.BuilderpackageValue(String packageValue)The name of the package with the version statuses to update.UpdatePackageVersionsStatusRequest.Builderrepository(String repository)The repository that contains the package versions with the status you want to update.UpdatePackageVersionsStatusRequest.BuildertargetStatus(String targetStatus)The status you want to change the package version status to.UpdatePackageVersionsStatusRequest.BuildertargetStatus(PackageVersionStatus targetStatus)The status you want to change the package version status to.UpdatePackageVersionsStatusRequest.BuilderversionRevisions(Map<String,String> versionRevisions)A map of package versions and package version revisions.UpdatePackageVersionsStatusRequest.Builderversions(String... versions)An array of strings that specify the versions of the package with the statuses to update.UpdatePackageVersionsStatusRequest.Builderversions(Collection<String> versions)An array of strings that specify the versions of the package with the statuses to update.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
domain
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.
- Parameters:
domain- The name of the domain that contains the repository that contains the package versions with a status to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainOwner
UpdatePackageVersionsStatusRequest.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.
- Parameters:
domainOwner- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
UpdatePackageVersionsStatusRequest.Builder repository(String repository)
The repository that contains the package versions with the status you want to update.
- Parameters:
repository- The repository that contains the package versions with the status you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
UpdatePackageVersionsStatusRequest.Builder format(String format)
A format that specifies the type of the package with the statuses to update.
- Parameters:
format- A format that specifies the type of the package with the statuses to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageFormat,PackageFormat
-
format
UpdatePackageVersionsStatusRequest.Builder format(PackageFormat format)
A format that specifies the type of the package with the statuses to update.
- Parameters:
format- A format that specifies the type of the package with the statuses to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageFormat,PackageFormat
-
namespace
UpdatePackageVersionsStatusRequest.Builder namespace(String namespace)
The namespace of the package version to be updated. 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 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.
- Parameters:
namespace- The namespace of the package version to be updated. 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 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
packageValue
UpdatePackageVersionsStatusRequest.Builder packageValue(String packageValue)
The name of the package with the version statuses to update.
- Parameters:
packageValue- The name of the package with the version statuses to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
UpdatePackageVersionsStatusRequest.Builder versions(Collection<String> versions)
An array of strings that specify the versions of the package with the statuses to update.
- Parameters:
versions- An array of strings that specify the versions of the package with the statuses to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
UpdatePackageVersionsStatusRequest.Builder versions(String... versions)
An array of strings that specify the versions of the package with the statuses to update.
- Parameters:
versions- An array of strings that specify the versions of the package with the statuses to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionRevisions
UpdatePackageVersionsStatusRequest.Builder versionRevisions(Map<String,String> versionRevisions)
A map of package versions and package version revisions. The map
keyis the package version (for example,3.5.2), and the mapvalueis the package version revision.- Parameters:
versionRevisions- A map of package versions and package version revisions. The mapkeyis the package version (for example,3.5.2), and the mapvalueis the package version revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedStatus
UpdatePackageVersionsStatusRequest.Builder expectedStatus(String expectedStatus)
The package version’s expected status before it is updated. If
expectedStatusis provided, the package version's status is updated only if its status at the timeUpdatePackageVersionsStatusis called matchesexpectedStatus.- Parameters:
expectedStatus- The package version’s expected status before it is updated. IfexpectedStatusis provided, the package version's status is updated only if its status at the timeUpdatePackageVersionsStatusis called matchesexpectedStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageVersionStatus,PackageVersionStatus
-
expectedStatus
UpdatePackageVersionsStatusRequest.Builder expectedStatus(PackageVersionStatus expectedStatus)
The package version’s expected status before it is updated. If
expectedStatusis provided, the package version's status is updated only if its status at the timeUpdatePackageVersionsStatusis called matchesexpectedStatus.- Parameters:
expectedStatus- The package version’s expected status before it is updated. IfexpectedStatusis provided, the package version's status is updated only if its status at the timeUpdatePackageVersionsStatusis called matchesexpectedStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageVersionStatus,PackageVersionStatus
-
targetStatus
UpdatePackageVersionsStatusRequest.Builder targetStatus(String targetStatus)
The status you want to change the package version status to.
- Parameters:
targetStatus- The status you want to change the package version status to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageVersionStatus,PackageVersionStatus
-
targetStatus
UpdatePackageVersionsStatusRequest.Builder targetStatus(PackageVersionStatus targetStatus)
The status you want to change the package version status to.
- Parameters:
targetStatus- The status you want to change the package version status to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageVersionStatus,PackageVersionStatus
-
overrideConfiguration
UpdatePackageVersionsStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePackageVersionsStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-