@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPackageVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPackageVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPackageVersionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomain()
The name of the domain that contains the repository that contains the returned package versions.
|
String |
getDomainOwner()
The 12-digit account number of the AWS account that owns the domain.
|
String |
getFormat()
The format of the returned packages.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNamespace()
The namespace of the package.
|
String |
getNextToken()
The token for the next set of results.
|
String |
getPackage()
The name of the package for which you want to return a list of package versions.
|
String |
getRepository()
The name of the repository that contains the package.
|
String |
getSortBy()
How to sort the returned list of package versions.
|
String |
getStatus()
A string that specifies the status of the package versions to include in the returned list.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain that contains the repository that contains the returned package versions.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
void |
setFormat(String format)
The format of the returned packages.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setNamespace(String namespace)
The namespace of the package.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPackage(String packageValue)
The name of the package for which you want to return a list of package versions.
|
void |
setRepository(String repository)
The name of the repository that contains the package.
|
void |
setSortBy(String sortBy)
How to sort the returned list of package versions.
|
void |
setStatus(String status)
A string that specifies the status of the package versions to include in the returned list.
|
String |
toString()
Returns a string representation of this object.
|
ListPackageVersionsRequest |
withDomain(String domain)
The name of the domain that contains the repository that contains the returned package versions.
|
ListPackageVersionsRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
ListPackageVersionsRequest |
withFormat(PackageFormat format)
The format of the returned packages.
|
ListPackageVersionsRequest |
withFormat(String format)
The format of the returned packages.
|
ListPackageVersionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListPackageVersionsRequest |
withNamespace(String namespace)
The namespace of the package.
|
ListPackageVersionsRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPackageVersionsRequest |
withPackage(String packageValue)
The name of the package for which you want to return a list of package versions.
|
ListPackageVersionsRequest |
withRepository(String repository)
The name of the repository that contains the package.
|
ListPackageVersionsRequest |
withSortBy(PackageVersionSortType sortBy)
How to sort the returned list of package versions.
|
ListPackageVersionsRequest |
withSortBy(String sortBy)
How to sort the returned list of package versions.
|
ListPackageVersionsRequest |
withStatus(PackageVersionStatus status)
A string that specifies the status of the package versions to include in the returned list.
|
ListPackageVersionsRequest |
withStatus(String status)
A string that specifies the status of the package versions to include in the returned list.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomain(String domain)
The name of the domain that contains the repository that contains the returned package versions.
domain
- The name of the domain that contains the repository that contains the returned package versions.public String getDomain()
The name of the domain that contains the repository that contains the returned package versions.
public ListPackageVersionsRequest withDomain(String domain)
The name of the domain that contains the repository that contains the returned package versions.
domain
- The name of the domain that contains the repository that contains the returned package versions.public void setDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.public String getDomainOwner()
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
public ListPackageVersionsRequest withDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.public void setRepository(String repository)
The name of the repository that contains the package.
repository
- The name of the repository that contains the package.public String getRepository()
The name of the repository that contains the package.
public ListPackageVersionsRequest withRepository(String repository)
The name of the repository that contains the package.
repository
- The name of the repository that contains the package.public void setFormat(String format)
The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
format
- The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR
file.
PackageFormat
public String getFormat()
The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR
file.
PackageFormat
public ListPackageVersionsRequest withFormat(String format)
The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
format
- The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR
file.
PackageFormat
public ListPackageVersionsRequest withFormat(PackageFormat format)
The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR file.
format
- The format of the returned packages. The valid package types are:
npm
: A Node Package Manager (npm) package.
pypi
: A Python Package Index (PyPI) package.
maven
: A Maven package that contains compiled code in a distributable format, such as a JAR
file.
PackageFormat
public void setNamespace(String namespace)
The namespace of the package. 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
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
namespace
- The namespace of the package. 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
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
public String getNamespace()
The namespace of the package. 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
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
The namespace of a Maven package is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
public ListPackageVersionsRequest withNamespace(String namespace)
The namespace of the package. 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
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
namespace
- The namespace of the package. 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
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
public void setPackage(String packageValue)
The name of the package for which you want to return a list of package versions.
packageValue
- The name of the package for which you want to return a list of package versions.public String getPackage()
The name of the package for which you want to return a list of package versions.
public ListPackageVersionsRequest withPackage(String packageValue)
The name of the package for which you want to return a list of package versions.
packageValue
- The name of the package for which you want to return a list of package versions.public void setStatus(String status)
A string that specifies the status of the package versions to include in the returned list. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
status
- A string that specifies the status of the package versions to include in the returned list. It can be one
of the following:
Published
Unfinished
Unlisted
Archived
Disposed
PackageVersionStatus
public String getStatus()
A string that specifies the status of the package versions to include in the returned list. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
Published
Unfinished
Unlisted
Archived
Disposed
PackageVersionStatus
public ListPackageVersionsRequest withStatus(String status)
A string that specifies the status of the package versions to include in the returned list. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
status
- A string that specifies the status of the package versions to include in the returned list. It can be one
of the following:
Published
Unfinished
Unlisted
Archived
Disposed
PackageVersionStatus
public ListPackageVersionsRequest withStatus(PackageVersionStatus status)
A string that specifies the status of the package versions to include in the returned list. It can be one of the following:
Published
Unfinished
Unlisted
Archived
Disposed
status
- A string that specifies the status of the package versions to include in the returned list. It can be one
of the following:
Published
Unfinished
Unlisted
Archived
Disposed
PackageVersionStatus
public void setSortBy(String sortBy)
How to sort the returned list of package versions.
sortBy
- How to sort the returned list of package versions.PackageVersionSortType
public String getSortBy()
How to sort the returned list of package versions.
PackageVersionSortType
public ListPackageVersionsRequest withSortBy(String sortBy)
How to sort the returned list of package versions.
sortBy
- How to sort the returned list of package versions.PackageVersionSortType
public ListPackageVersionsRequest withSortBy(PackageVersionSortType sortBy)
How to sort the returned list of package versions.
sortBy
- How to sort the returned list of package versions.PackageVersionSortType
public void setMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public Integer getMaxResults()
The maximum number of results to return per page.
public ListPackageVersionsRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public void setNextToken(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.
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.public String getNextToken()
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.
public ListPackageVersionsRequest withNextToken(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.
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.public String toString()
toString
in class Object
Object.toString()
public ListPackageVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()