public static interface PublishPackageVersionResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<PublishPackageVersionResponse.Builder,PublishPackageVersionResponse>
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPublishPackageVersionResponse.Builder format(String format)
The format of the package version.
format - The format of the package version.PackageFormat,
PackageFormatPublishPackageVersionResponse.Builder format(PackageFormat format)
The format of the package version.
format - The format of the package version.PackageFormat,
PackageFormatPublishPackageVersionResponse.Builder namespace(String namespace)
The namespace of the package version.
namespace - The namespace of the package version.PublishPackageVersionResponse.Builder packageValue(String packageValue)
The name of the package.
packageValue - The name of the package.PublishPackageVersionResponse.Builder version(String version)
The version of the package.
version - The version of the package.PublishPackageVersionResponse.Builder versionRevision(String versionRevision)
The revision of the package version.
versionRevision - The revision of the package version.PublishPackageVersionResponse.Builder status(String status)
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
status - A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.PackageVersionStatus,
PackageVersionStatusPublishPackageVersionResponse.Builder status(PackageVersionStatus status)
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
status - A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.PackageVersionStatus,
PackageVersionStatusPublishPackageVersionResponse.Builder asset(AssetSummary asset)
An AssetSummary for the published asset.
asset - An
AssetSummary for the published asset.default PublishPackageVersionResponse.Builder asset(Consumer<AssetSummary.Builder> asset)
An AssetSummary for the published asset.
This is a convenience method that creates an instance of theAssetSummary.Builder avoiding the need
to create one manually via AssetSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to asset(AssetSummary).
asset - a consumer that will call methods on AssetSummary.Builderasset(AssetSummary)Copyright © 2023. All rights reserved.