public static interface PublishPackageVersionRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<PublishPackageVersionRequest.Builder,PublishPackageVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
PublishPackageVersionRequest.Builder |
assetName(String assetName)
The name of the asset to publish.
|
PublishPackageVersionRequest.Builder |
assetSHA256(String assetSHA256)
The SHA256 hash of the
assetContent to publish. |
PublishPackageVersionRequest.Builder |
domain(String domain)
The name of the domain that contains the repository that contains the package version to publish.
|
PublishPackageVersionRequest.Builder |
domainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
PublishPackageVersionRequest.Builder |
format(PackageFormat format)
A format that specifies the type of the package version with the requested asset file.
|
PublishPackageVersionRequest.Builder |
format(String format)
A format that specifies the type of the package version with the requested asset file.
|
PublishPackageVersionRequest.Builder |
namespace(String namespace)
The namespace of the package version to publish.
|
PublishPackageVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PublishPackageVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PublishPackageVersionRequest.Builder |
packageValue(String packageValue)
The name of the package version to publish.
|
PublishPackageVersionRequest.Builder |
packageVersion(String packageVersion)
The package version to publish (for example,
3.5.2). |
PublishPackageVersionRequest.Builder |
repository(String repository)
The name of the repository that the package version will be published to.
|
PublishPackageVersionRequest.Builder |
unfinished(Boolean unfinished)
Specifies whether the package version should remain in the
unfinished state. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPublishPackageVersionRequest.Builder domain(String domain)
The name of the domain that contains the repository that contains the package version to publish.
domain - The name of the domain that contains the repository that contains the package version to publish.PublishPackageVersionRequest.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.PublishPackageVersionRequest.Builder repository(String repository)
The name of the repository that the package version will be published to.
repository - The name of the repository that the package version will be published to.PublishPackageVersionRequest.Builder format(String format)
A format that specifies the type of the package version with the requested asset file.
The only supported value is generic.
format - A format that specifies the type of the package version with the requested asset file.
The only supported value is generic.
PackageFormat,
PackageFormatPublishPackageVersionRequest.Builder format(PackageFormat format)
A format that specifies the type of the package version with the requested asset file.
The only supported value is generic.
format - A format that specifies the type of the package version with the requested asset file.
The only supported value is generic.
PackageFormat,
PackageFormatPublishPackageVersionRequest.Builder namespace(String namespace)
The namespace of the package version to publish.
namespace - The namespace of the package version to publish.PublishPackageVersionRequest.Builder packageValue(String packageValue)
The name of the package version to publish.
packageValue - The name of the package version to publish.PublishPackageVersionRequest.Builder packageVersion(String packageVersion)
The package version to publish (for example, 3.5.2).
packageVersion - The package version to publish (for example, 3.5.2).PublishPackageVersionRequest.Builder assetName(String assetName)
The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following
special characters: ~ ! @ ^ & ( ) - ` _ + [ ] { } ; , . `
assetName - The name of the asset to publish. Asset names can include Unicode letters and numbers, and the
following special characters: ~ ! @ ^ & ( ) - ` _ + [ ] { } ; , . `PublishPackageVersionRequest.Builder assetSHA256(String assetSHA256)
The SHA256 hash of the assetContent to publish. This value must be calculated by the caller and
provided with the request (see Publishing a generic package in the CodeArtifact User Guide).
This value is used as an integrity check to verify that the assetContent has not changed after
it was originally sent.
assetSHA256 - The SHA256 hash of the assetContent to publish. This value must be calculated by the
caller and provided with the request (see Publishing a generic package in the CodeArtifact User Guide).
This value is used as an integrity check to verify that the assetContent has not changed
after it was originally sent.
PublishPackageVersionRequest.Builder unfinished(Boolean unfinished)
Specifies whether the package version should remain in the unfinished state. If omitted, the
package version status will be set to Published (see Package version status in the CodeArtifact User Guide).
Valid values: unfinished
unfinished - Specifies whether the package version should remain in the unfinished state. If omitted,
the package version status will be set to Published (see Package version status in the CodeArtifact User Guide).
Valid values: unfinished
PublishPackageVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPublishPackageVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.