Class ListPackageVersionsRequest

    • Method Detail

      • domain

        public final String domain()

        The name of the domain that contains the repository that contains the requested package versions.

        Returns:
        The name of the domain that contains the repository that contains the requested package versions.
      • domainOwner

        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.

        Returns:
        The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
      • repository

        public final String repository()

        The name of the repository that contains the requested package versions.

        Returns:
        The name of the repository that contains the requested package versions.
      • formatAsString

        public final String formatAsString()

        The format of the package versions you want to list.

        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().

        Returns:
        The format of the package versions you want to list.
        See Also:
        PackageFormat
      • namespace

        public final 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.

        Returns:
        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.

      • packageValue

        public final String packageValue()

        The name of the package for which you want to request package versions.

        Returns:
        The name of the package for which you want to request package versions.
      • maxResults

        public final Integer maxResults()

        The maximum number of results to return per page.

        Returns:
        The maximum number of results to return per page.
      • nextToken

        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.

        Returns:
        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.
      • originTypeAsString

        public final String originTypeAsString()

        The originType used to filter package versions. Only package versions with the provided originType will be returned.

        If the service returns an enum value that is not available in the current SDK version, originType will return PackageVersionOriginType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from originTypeAsString().

        Returns:
        The originType used to filter package versions. Only package versions with the provided originType will be returned.
        See Also:
        PackageVersionOriginType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object