Interface ListPackageVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeartifactRequest.Builder
,CopyableBuilder<ListPackageVersionsRequest.Builder,
,ListPackageVersionsRequest> SdkBuilder<ListPackageVersionsRequest.Builder,
,ListPackageVersionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListPackageVersionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain that contains the repository that contains the requested package versions.domainOwner
(String domainOwner) The 12-digit account number of the Amazon Web Services account that owns the domain.The format of the package versions you want to list.format
(PackageFormat format) The format of the package versions you want to list.maxResults
(Integer maxResults) The maximum number of results to return per page.The namespace of the package that contains the requested package versions.The token for the next set of results.originType
(String originType) TheoriginType
used to filter package versions.originType
(PackageVersionOriginType originType) TheoriginType
used to filter package versions.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packageValue
(String packageValue) The name of the package for which you want to request package versions.repository
(String repository) The name of the repository that contains the requested package versions.How to sort the requested list of package versions.sortBy
(PackageVersionSortType sortBy) How to sort the requested list of package versions.A string that filters the requested package versions by status.status
(PackageVersionStatus status) A string that filters the requested package versions by status.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 Details
-
domain
The name of the domain that contains the repository that contains the requested package versions.
- Parameters:
domain
- The name of the domain that contains the repository that contains the requested package versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The name of the repository that contains the requested package versions.
- Parameters:
repository
- The name of the repository that contains the requested package versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
The format of the package versions you want to list.
- Parameters:
format
- The format of the package versions you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the package versions you want to list.
- Parameters:
format
- The format of the package versions you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting package versions of the following formats:
-
Maven
-
Swift
-
generic
-
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 that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:The namespace is required when deleting package versions of the following formats:
-
Maven
-
Swift
-
generic
-
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 for which you want to request package versions.
- Parameters:
packageValue
- The name of the package for which you want to request package versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
A string that filters the requested package versions by status.
- Parameters:
status
- A string that filters the requested package versions by status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
A string that filters the requested package versions by status.
- Parameters:
status
- A string that filters the requested package versions by status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
How to sort the requested list of package versions.
- Parameters:
sortBy
- How to sort the requested list of package versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
How to sort the requested list of package versions.
- Parameters:
sortBy
- How to sort the requested list of package versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return per page.
- Parameters:
maxResults
- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originType
The
originType
used to filter package versions. Only package versions with the providedoriginType
will be returned.- Parameters:
originType
- TheoriginType
used to filter package versions. Only package versions with the providedoriginType
will be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
originType
The
originType
used to filter package versions. Only package versions with the providedoriginType
will be returned.- Parameters:
originType
- TheoriginType
used to filter package versions. Only package versions with the providedoriginType
will be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListPackageVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPackageVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-