Interface ListPackageVersionAssetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeartifactResponse.Builder
,CopyableBuilder<ListPackageVersionAssetsResponse.Builder,
,ListPackageVersionAssetsResponse> SdkBuilder<ListPackageVersionAssetsResponse.Builder,
,ListPackageVersionAssetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPackageVersionAssetsResponse
-
Method Summary
Modifier and TypeMethodDescriptionassets
(Collection<AssetSummary> assets) The returned list of AssetSummary objects.assets
(Consumer<AssetSummary.Builder>... assets) The returned list of AssetSummary objects.assets
(AssetSummary... assets) The returned list of AssetSummary objects.The format of the package that contains the requested package version assets.format
(PackageFormat format) The format of the package that contains the requested package version assets.The namespace of the package version that contains the requested package version assets.If there are additional results, this is the token for the next set of results.packageValue
(String packageValue) The name of the package that contains the requested package version assets.The version of the package associated with the requested assets.versionRevision
(String versionRevision) The current revision associated with 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 that contains the requested package version assets.
- Parameters:
format
- The format of the package that contains the requested package version assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the package that contains the requested package version assets.
- Parameters:
format
- The format of the package that contains the requested package version assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace of the package version that contains the requested package version assets. The package 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 or Swift package version is its
scope
. -
The namespace of a generic package is its
namespace
. -
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
- Parameters:
namespace
- The namespace of the package version that contains the requested package version assets. The package 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 or Swift package version is its
scope
. -
The namespace of a generic package is its
namespace
. -
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
packageValue
The name of the package that contains the requested package version assets.
- Parameters:
packageValue
- The name of the package that contains the requested package version assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the package associated with the requested assets.
- Parameters:
version
- The version of the package associated with the requested assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionRevision
The current revision associated with the package version.
- Parameters:
versionRevision
- The current revision associated with the package version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The returned list of AssetSummary objects.
- Parameters:
assets
- The returned list of AssetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The returned list of AssetSummary objects.
- Parameters:
assets
- The returned list of AssetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The returned list of AssetSummary objects.
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 toassets(List<AssetSummary>)
.- Parameters:
assets
- 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:
-