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 DescribePackageRequest

    • Constructor Detail

      • DescribePackageRequest

        public DescribePackageRequest()
    • Method Detail

      • setDomain

        public void setDomain(String domain)

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

        Parameters:
        domain - The name of the domain that contains the repository that contains the package.
      • getDomain

        public String getDomain()

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

        Returns:
        The name of the domain that contains the repository that contains the package.
      • withDomain

        public DescribePackageRequest withDomain(String domain)

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

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

        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.

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

        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.

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

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

        Parameters:
        domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepository

        public void setRepository(String repository)

        The name of the repository that contains the requested package.

        Parameters:
        repository - The name of the repository that contains the requested package.
      • getRepository

        public String getRepository()

        The name of the repository that contains the requested package.

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

        public DescribePackageRequest withRepository(String repository)

        The name of the repository that contains the requested package.

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

        public void setFormat(String format)

        A format that specifies the type of the requested package.

        Parameters:
        format - A format that specifies the type of the requested package.
        See Also:
        PackageFormat
      • getFormat

        public String getFormat()

        A format that specifies the type of the requested package.

        Returns:
        A format that specifies the type of the requested package.
        See Also:
        PackageFormat
      • withFormat

        public DescribePackageRequest withFormat(String format)

        A format that specifies the type of the requested package.

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

        public DescribePackageRequest withFormat(PackageFormat format)

        A format that specifies the type of the requested package.

        Parameters:
        format - A format that specifies the type of the requested 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 requested package. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when requesting 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.

        Parameters:
        namespace - The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when requesting 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.

      • getNamespace

        public String getNamespace()

        The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:

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

        The namespace is required when requesting 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.

      • withNamespace

        public DescribePackageRequest withNamespace(String namespace)

        The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when requesting 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.

        Parameters:
        namespace - The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when requesting 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:
        Returns a reference to this object so that method calls can be chained together.
      • setPackage

        public void setPackage(String packageValue)

        The name of the requested package.

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

        public String getPackage()

        The name of the requested package.

        Returns:
        The name of the requested package.
      • withPackage

        public DescribePackageRequest withPackage(String packageValue)

        The name of the requested package.

        Parameters:
        packageValue - The name of the requested 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 によって変換されたページ (->オリジナル) /