@Generated(value="software.amazon.awssdk:codegen") public final class ListPackagesRequest extends CodeartifactRequest implements ToCopyableBuilder<ListPackagesRequest.Builder,ListPackagesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListPackagesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListPackagesRequest.Builder |
builder() |
String |
domain()
The name of the domain that contains the repository that contains the requested packages.
|
String |
domainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
PackageFormat |
format()
The format used to filter requested packages.
|
String |
formatAsString()
The format used to filter requested packages.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return per page.
|
String |
namespace()
The namespace prefix used to filter requested packages.
|
String |
nextToken()
The token for the next set of results.
|
String |
packagePrefix()
A prefix used to filter requested packages.
|
AllowPublish |
publish()
The value of the
Publish package origin control restriction used to filter requested packages. |
String |
publishAsString()
The value of the
Publish package origin control restriction used to filter requested packages. |
String |
repository()
The name of the repository that contains the requested packages.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListPackagesRequest.Builder> |
serializableBuilderClass() |
ListPackagesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AllowUpstream |
upstream()
The value of the
Upstream package origin control restriction used to filter requested packages. |
String |
upstreamAsString()
The value of the
Upstream package origin control restriction used to filter requested packages. |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domain()
The name of the domain that contains the repository that contains the requested packages.
public final String domainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public final String repository()
The name of the repository that contains the requested packages.
public final PackageFormat format()
The format used to filter requested packages. Only packages from the provided format will be returned.
If the service returns an enum value that is not available in the current SDK version, format will
return PackageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
PackageFormatpublic final String formatAsString()
The format used to filter requested packages. Only packages from the provided format will be returned.
If the service returns an enum value that is not available in the current SDK version, format will
return PackageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
PackageFormatpublic final 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 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.
--namespace
and not --namespace-prefix, it has prefix-matching behavior.
Each package format uses namespace as follows:
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.
public final String packagePrefix()
A prefix used to filter requested packages. Only packages with names that start with packagePrefix
are returned.
packagePrefix are returned.public final Integer maxResults()
The maximum number of results to return per page.
public final 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.
public final 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.
If the service returns an enum value that is not available in the current SDK version, publish will
return AllowPublish.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
publishAsString().
Publish package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowPublishpublic final String publishAsString()
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.
If the service returns an enum value that is not available in the current SDK version, publish will
return AllowPublish.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
publishAsString().
Publish package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowPublishpublic final 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.
If the service returns an enum value that is not available in the current SDK version, upstream will
return AllowUpstream.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
upstreamAsString().
Upstream package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowUpstreampublic final String upstreamAsString()
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.
If the service returns an enum value that is not available in the current SDK version, upstream will
return AllowUpstream.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
upstreamAsString().
Upstream package origin control restriction used to filter requested
packages. Only packages with the provided restriction are returned. For more information, see PackageOriginRestrictions.AllowUpstreampublic ListPackagesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListPackagesRequest.Builder,ListPackagesRequest>toBuilder in class CodeartifactRequestpublic static ListPackagesRequest.Builder builder()
public static Class<? extends ListPackagesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.