@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 packages.
|
String |
getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
String |
getFormat()
The format used to filter requested packages.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNamespace()
The namespace prefix used to filter requested packages.
|
String |
getNextToken()
The token for the next set of results.
|
String |
getPackagePrefix()
A prefix used to filter requested packages.
|
String |
getPublish()
The value of the
Publish package origin control restriction used to filter requested packages. |
String |
getRepository()
The name of the repository that contains the requested packages.
|
String |
getUpstream()
The value of the
Upstream package origin control restriction used to filter requested packages. |
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain that contains the repository that contains the requested packages.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
void |
setFormat(String format)
The format used to filter requested packages.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setNamespace(String namespace)
The namespace prefix used to filter requested packages.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPackagePrefix(String packagePrefix)
A prefix used to filter requested packages.
|
void |
setPublish(String publish)
The value of the
Publish package origin control restriction used to filter requested packages. |
void |
setRepository(String repository)
The name of the repository that contains the requested packages.
|
void |
setUpstream(String upstream)
The value of the
Upstream package origin control restriction used to filter requested packages. |
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 packages.
|
ListPackagesRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
ListPackagesRequest |
withFormat(PackageFormat format)
The format used to filter requested packages.
|
ListPackagesRequest |
withFormat(String format)
The format used to filter requested packages.
|
ListPackagesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListPackagesRequest |
withNamespace(String namespace)
The namespace prefix used to filter requested packages.
|
ListPackagesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPackagesRequest |
withPackagePrefix(String packagePrefix)
A prefix used to filter requested packages.
|
ListPackagesRequest |
withPublish(AllowPublish publish)
The value of the
Publish package origin control restriction used to filter requested packages. |
ListPackagesRequest |
withPublish(String publish)
The value of the
Publish package origin control restriction used to filter requested packages. |
ListPackagesRequest |
withRepository(String repository)
The name of the repository that contains the requested packages.
|
ListPackagesRequest |
withUpstream(AllowUpstream upstream)
The value of the
Upstream package origin control restriction used to filter requested packages. |
ListPackagesRequest |
withUpstream(String upstream)
The value of the
Upstream package origin control restriction used to filter requested packages. |
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 packages.
domain
- The name of the domain that contains the repository that contains the requested packages.public String getDomain()
The name of the domain that contains the repository that contains the requested packages.
public ListPackagesRequest withDomain(String domain)
The name of the domain that contains the repository that contains the requested packages.
domain
- The name of the domain that contains the repository that contains the requested packages.public void setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public ListPackagesRequest withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services 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 requested packages.
repository
- The name of the repository that contains the requested packages.public String getRepository()
The name of the repository that contains the requested packages.
public ListPackagesRequest withRepository(String repository)
The name of the repository that contains the requested packages.
repository
- The name of the repository that contains the requested packages.public void setFormat(String format)
The format used to filter requested packages. Only packages from the provided format will be returned.
format
- The format used to filter requested packages. Only packages from the provided format will be returned.PackageFormat
public String getFormat()
The format used to filter requested packages. Only packages from the provided format will be returned.
PackageFormat
public ListPackagesRequest withFormat(String format)
The format used to filter requested packages. Only packages from the provided format will be returned.
format
- The format used to filter requested packages. Only packages from the provided format will be returned.PackageFormat
public ListPackagesRequest withFormat(PackageFormat format)
The format used to filter requested packages. Only packages from the provided format will be returned.
format
- The format used to filter requested packages. Only packages from the provided format will be returned.PackageFormat
public void setNamespace(String namespace)
The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the
provided string value are returned. Note that although this option is called --namespace
and not
--namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace
- The namespace prefix used to filter requested packages. Only packages with a namespace that starts with
the provided string value are returned. Note that although this option is called --namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public String getNamespace()
The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the
provided string value are returned. Note that although this option is called --namespace
and not
--namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
--namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public ListPackagesRequest withNamespace(String namespace)
The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the
provided string value are returned. Note that although this option is called --namespace
and not
--namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace
- The namespace prefix used to filter requested packages. Only packages with a namespace that starts with
the provided string value are returned. Note that although this option is called --namespace
and not --namespace-prefix
, it has prefix-matching behavior.
Each package format uses namespace as follows:
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, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public void setPackagePrefix(String packagePrefix)
A prefix used to filter requested packages. Only packages with names that start with packagePrefix
are returned.
packagePrefix
- A prefix used to filter requested packages. Only packages with names that start with
packagePrefix
are returned.public String getPackagePrefix()
A prefix used to filter requested packages. Only packages with names that start with packagePrefix
are returned.
packagePrefix
are returned.public ListPackagesRequest withPackagePrefix(String packagePrefix)
A prefix used to filter requested packages. Only packages with names that start with packagePrefix
are returned.
packagePrefix
- A prefix used to filter requested 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 void setPublish(String publish)
The value of the Publish
package origin control restriction used to filter requested packages. Only
packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
publish
- The value of the Publish
package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowPublish
public String getPublish()
The value of the Publish
package origin control restriction used to filter requested packages. Only
packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
Publish
package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowPublish
public ListPackagesRequest withPublish(String publish)
The value of the Publish
package origin control restriction used to filter requested packages. Only
packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
publish
- The value of the Publish
package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowPublish
public ListPackagesRequest withPublish(AllowPublish publish)
The value of the Publish
package origin control restriction used to filter requested packages. Only
packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
publish
- The value of the Publish
package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowPublish
public void setUpstream(String upstream)
The value of the Upstream
package origin control restriction used to filter requested packages. Only
packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
upstream
- The value of the Upstream
package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowUpstream
public String getUpstream()
The value of the Upstream
package origin control restriction used to filter requested packages. Only
packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
Upstream
package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowUpstream
public ListPackagesRequest withUpstream(String upstream)
The value of the Upstream
package origin control restriction used to filter requested packages. Only
packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
upstream
- The value of the Upstream
package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowUpstream
public ListPackagesRequest withUpstream(AllowUpstream upstream)
The value of the Upstream
package origin control restriction used to filter requested packages. Only
packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.
upstream
- The value of the Upstream
package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowUpstream
public String toString()
toString
in class Object
Object.toString()
public ListPackagesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()