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 GetPackageVersionReadmeRequest

    • Constructor Detail

      • GetPackageVersionReadmeRequest

        public GetPackageVersionReadmeRequest()
    • Method Detail

      • setDomain

        public void setDomain(String domain)

        The name of the domain that contains the repository that contains the package version with the requested readme file.

        Parameters:
        domain - The name of the domain that contains the repository that contains the package version with the requested readme file.
      • getDomain

        public String getDomain()

        The name of the domain that contains the repository that contains the package version with the requested readme file.

        Returns:
        The name of the domain that contains the repository that contains the package version with the requested readme file.
      • withDomain

        public GetPackageVersionReadmeRequest withDomain(String domain)

        The name of the domain that contains the repository that contains the package version with the requested readme file.

        Parameters:
        domain - The name of the domain that contains the repository that contains the package version with the requested readme file.
        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 GetPackageVersionReadmeRequest 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 repository that contains the package with the requested readme file.

        Parameters:
        repository - The repository that contains the package with the requested readme file.
      • getRepository

        public String getRepository()

        The repository that contains the package with the requested readme file.

        Returns:
        The repository that contains the package with the requested readme file.
      • withRepository

        public GetPackageVersionReadmeRequest withRepository(String repository)

        The repository that contains the package with the requested readme file.

        Parameters:
        repository - The repository that contains the package with the requested readme file.
        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 package version with the requested readme file.

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

        public String getFormat()

        A format that specifies the type of the package version with the requested readme file.

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

        public GetPackageVersionReadmeRequest withFormat(String format)

        A format that specifies the type of the package version with the requested readme file.

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

        public GetPackageVersionReadmeRequest withFormat(PackageFormat format)

        A format that specifies the type of the package version with the requested readme file.

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

        The namespace is required when requesting the readme from package versions 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 package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when requesting the readme from package versions 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 package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when requesting the readme from package versions 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 version with the requested readme file. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when requesting the readme from package versions 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 GetPackageVersionReadmeRequest withNamespace(String namespace)

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

        The namespace is required when requesting the readme from package versions 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 package version with the requested readme file. The package component that specifies its namespace depends on its type. For example:

        The namespace is required when requesting the readme from package versions 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 package version that contains the requested readme file.

        Parameters:
        packageValue - The name of the package version that contains the requested readme file.
      • getPackage

        public String getPackage()

        The name of the package version that contains the requested readme file.

        Returns:
        The name of the package version that contains the requested readme file.
      • withPackage

        public GetPackageVersionReadmeRequest withPackage(String packageValue)

        The name of the package version that contains the requested readme file.

        Parameters:
        packageValue - The name of the package version that contains the requested readme file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPackageVersion

        public void setPackageVersion(String packageVersion)

        A string that contains the package version (for example, 3.5.2).

        Parameters:
        packageVersion - A string that contains the package version (for example, 3.5.2).
      • getPackageVersion

        public String getPackageVersion()

        A string that contains the package version (for example, 3.5.2).

        Returns:
        A string that contains the package version (for example, 3.5.2).
      • withPackageVersion

        public GetPackageVersionReadmeRequest withPackageVersion(String packageVersion)

        A string that contains the package version (for example, 3.5.2).

        Parameters:
        packageVersion - A string that contains the package version (for example, 3.5.2).
        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 によって変換されたページ (->オリジナル) /