Interface ListPackageVersionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<ListPackageVersionsRequest.Builder,ListPackageVersionsRequest>,SdkBuilder<ListPackageVersionsRequest.Builder,ListPackageVersionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListPackageVersionsRequest
public static interface ListPackageVersionsRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<ListPackageVersionsRequest.Builder,ListPackageVersionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPackageVersionsRequest.Builderdomain(String domain)The name of the domain that contains the repository that contains the requested package versions.ListPackageVersionsRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.ListPackageVersionsRequest.Builderformat(String format)The format of the package versions you want to list.ListPackageVersionsRequest.Builderformat(PackageFormat format)The format of the package versions you want to list.ListPackageVersionsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per page.ListPackageVersionsRequest.Buildernamespace(String namespace)The namespace of the package that contains the requested package versions.ListPackageVersionsRequest.BuildernextToken(String nextToken)The token for the next set of results.ListPackageVersionsRequest.BuilderoriginType(String originType)TheoriginTypeused to filter package versions.ListPackageVersionsRequest.BuilderoriginType(PackageVersionOriginType originType)TheoriginTypeused to filter package versions.ListPackageVersionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPackageVersionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListPackageVersionsRequest.BuilderpackageValue(String packageValue)The name of the package for which you want to request package versions.ListPackageVersionsRequest.Builderrepository(String repository)The name of the repository that contains the requested package versions.ListPackageVersionsRequest.BuildersortBy(String sortBy)How to sort the requested list of package versions.ListPackageVersionsRequest.BuildersortBy(PackageVersionSortType sortBy)How to sort the requested list of package versions.ListPackageVersionsRequest.Builderstatus(String status)A string that filters the requested package versions by status.ListPackageVersionsRequest.Builderstatus(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 Detail
-
domain
ListPackageVersionsRequest.Builder domain(String 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
ListPackageVersionsRequest.Builder domainOwner(String 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
ListPackageVersionsRequest.Builder repository(String 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
ListPackageVersionsRequest.Builder format(String 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:
PackageFormat,PackageFormat
-
format
ListPackageVersionsRequest.Builder format(PackageFormat 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:
PackageFormat,PackageFormat
-
namespace
ListPackageVersionsRequest.Builder namespace(String 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 of a Maven package is its
groupId. -
The namespace of an npm package is its
scope. -
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
-
The namespace of a generic package is its
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 of a Maven package is its
groupId. -
The namespace of an npm package is its
scope. -
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
-
The namespace of a generic package is its
namespace.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
packageValue
ListPackageVersionsRequest.Builder packageValue(String 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
ListPackageVersionsRequest.Builder status(String 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:
PackageVersionStatus,PackageVersionStatus
-
status
ListPackageVersionsRequest.Builder status(PackageVersionStatus 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:
PackageVersionStatus,PackageVersionStatus
-
sortBy
ListPackageVersionsRequest.Builder sortBy(String 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:
PackageVersionSortType,PackageVersionSortType
-
sortBy
ListPackageVersionsRequest.Builder sortBy(PackageVersionSortType 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:
PackageVersionSortType,PackageVersionSortType
-
maxResults
ListPackageVersionsRequest.Builder maxResults(Integer 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
ListPackageVersionsRequest.Builder nextToken(String 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
ListPackageVersionsRequest.Builder originType(String originType)
The
originTypeused to filter package versions. Only package versions with the providedoriginTypewill be returned.- Parameters:
originType- TheoriginTypeused to filter package versions. Only package versions with the providedoriginTypewill be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageVersionOriginType,PackageVersionOriginType
-
originType
ListPackageVersionsRequest.Builder originType(PackageVersionOriginType originType)
The
originTypeused to filter package versions. Only package versions with the providedoriginTypewill be returned.- Parameters:
originType- TheoriginTypeused to filter package versions. Only package versions with the providedoriginTypewill be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageVersionOriginType,PackageVersionOriginType
-
overrideConfiguration
ListPackageVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPackageVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-