@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPackagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPackagesRequest() |
Modifier and Type | Method and Description |
---|---|
ListPackagesRequest |
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 requested list of packages.
|
String |
getDomainOwner()
The 12-digit account number of the AWS account that owns the domain.
|
String |
getFormat()
The format of the 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 |
getPackagePrefix()
A prefix used to filter returned packages.
|
String |
getRepository()
The name of the repository from which packages are to be listed.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain that contains the repository that contains the requested list of packages.
|
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 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 |
setPackagePrefix(String packagePrefix)
A prefix used to filter returned packages.
|
void |
setRepository(String repository)
The name of the repository from which packages are to be listed.
|
String |
toString()
Returns a string representation of this object.
|
ListPackagesRequest |
withDomain(String domain)
The name of the domain that contains the repository that contains the requested list of packages.
|
ListPackagesRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
ListPackagesRequest |
withFormat(PackageFormat format)
The format of the packages.
|
ListPackagesRequest |
withFormat(String format)
The format of the packages.
|
ListPackagesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListPackagesRequest |
withNamespace(String namespace)
The namespace of the package.
|
ListPackagesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPackagesRequest |
withPackagePrefix(String packagePrefix)
A prefix used to filter returned packages.
|
ListPackagesRequest |
withRepository(String repository)
The name of the repository from which packages are to be listed.
|
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 requested list of packages.
domain
- The name of the domain that contains the repository that contains the requested list of packages.public String getDomain()
The name of the domain that contains the repository that contains the requested list of packages.
public ListPackagesRequest withDomain(String domain)
The name of the domain that contains the repository that contains the requested list of packages.
domain
- The name of the domain that contains the repository that contains the requested list of packages.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 ListPackagesRequest 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 from which packages are to be listed.
repository
- The name of the repository from which packages are to be listed.public String getRepository()
The name of the repository from which packages are to be listed.
public ListPackagesRequest withRepository(String repository)
The name of the repository from which packages are to be listed.
repository
- The name of the repository from which packages are to be listed.public void setFormat(String format)
The format of the 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 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 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 ListPackagesRequest withFormat(String format)
The format of the 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 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 ListPackagesRequest withFormat(PackageFormat format)
The format of the 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 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 ListPackagesRequest 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 setPackagePrefix(String packagePrefix)
A prefix used to filter returned packages. Only packages with names that start with packagePrefix
are returned.
packagePrefix
- A prefix used to filter returned packages. Only packages with names that start with
packagePrefix
are returned.public String getPackagePrefix()
A prefix used to filter returned packages. Only packages with names that start with packagePrefix
are returned.
packagePrefix
are returned.public ListPackagesRequest withPackagePrefix(String packagePrefix)
A prefix used to filter returned packages. Only packages with names that start with packagePrefix
are returned.
packagePrefix
- A prefix used to filter returned packages. Only packages with names that start with
packagePrefix
are returned.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 ListPackagesRequest 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 ListPackagesRequest 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 ListPackagesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()