Class GetAssociatedPackageGroupRequest

    • Method Detail

      • domain

        public final String domain()

        The name of the domain that contains the package from which to get the associated package group.

        Returns:
        The name of the domain that contains the package from which to get the associated package group.
      • 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.
      • format

        public final PackageFormat format()

        The format of the package from which to get the associated package group.

        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 from which to get the associated package group.
        See Also:
        PackageFormat
      • formatAsString

        public final String formatAsString()

        The format of the package from which to get the associated package group.

        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 from which to get the associated package group.
        See Also:
        PackageFormat
      • namespace

        public final String namespace()

        The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when getting associated package groups from packages of the following formats:

        • Maven

        • Swift

        • generic

        • 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.

        Returns:
        The namespace of the package from which to get the associated package group. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when getting associated package groups from packages of the following formats:

        • Maven

        • Swift

        • generic

        • 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.

      • packageValue

        public final String packageValue()

        The package from which to get the associated package group.

        Returns:
        The package from which to get the associated package group.
      • 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