JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codeartifact.model

Class PackageSummary

    • Constructor Detail

      • PackageSummary

        public PackageSummary()
    • Method Detail

      • setFormat

        public void setFormat(String format)

        The format of the package.

        Parameters:
        format - The format of the package.
        See Also:
        PackageFormat
      • getFormat

        public String getFormat()

        The format of the package.

        Returns:
        The format of the package.
        See Also:
        PackageFormat
      • withFormat

        public PackageSummary withFormat(String format)

        The format of the package.

        Parameters:
        format - The format of the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat
      • withFormat

        public PackageSummary withFormat(PackageFormat format)

        The format of the package.

        Parameters:
        format - The format of the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageFormat
      • setNamespace

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

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

      • getNamespace

        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 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. The package component that specifies its namespace depends on its type. For example:

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

      • withNamespace

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

        Parameters:
        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 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:
        Returns a reference to this object so that method calls can be chained together.
      • setPackage

        public void setPackage(String packageValue)

        The name of the package.

        Parameters:
        packageValue - The name of the package.
      • getPackage

        public String getPackage()

        The name of the package.

        Returns:
        The name of the package.
      • withPackage

        public PackageSummary withPackage(String packageValue)

        The name of the package.

        Parameters:
        packageValue - The name of the package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /