Interface PublishPackageVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeartifactResponse.Builder
,CopyableBuilder<PublishPackageVersionResponse.Builder,
,PublishPackageVersionResponse> SdkBuilder<PublishPackageVersionResponse.Builder,
,PublishPackageVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PublishPackageVersionResponse
public static interface PublishPackageVersionResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<PublishPackageVersionResponse.Builder,PublishPackageVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionasset
(Consumer<AssetSummary.Builder> asset) An AssetSummary for the published asset.asset
(AssetSummary asset) An AssetSummary for the published asset.The format of the package version.format
(PackageFormat format) The format of the package version.The namespace of the package version.packageValue
(String packageValue) The name of the package.A string that contains the status of the package version.status
(PackageVersionStatus status) A string that contains the status of the package version.The version of the package.versionRevision
(String versionRevision) The revision of the package version.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
format
The format of the package version.
- Parameters:
format
- The format of the package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the package version.
- Parameters:
format
- The format of the package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace of the package version.
- Parameters:
namespace
- The namespace of the package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageValue
The name of the package.
- Parameters:
packageValue
- The name of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the package.
- Parameters:
version
- The version of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionRevision
The revision of the package version.
- Parameters:
versionRevision
- The revision of the package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
- Parameters:
status
- A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.
- Parameters:
status
- A string that contains the status of the package version. For more information, see Package version status in the CodeArtifact User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
asset
An AssetSummary for the published asset.
- Parameters:
asset
- An AssetSummary for the published asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAssetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toasset(AssetSummary)
.- Parameters:
asset
- a consumer that will call methods onAssetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-