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 GetPackageVersionAssetRequest

    • Constructor Detail

      • GetPackageVersionAssetRequest

        public GetPackageVersionAssetRequest()
    • 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 asset.

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

        public String getDomain()

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

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

        public GetPackageVersionAssetRequest withDomain(String domain)

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

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

        Parameters:
        repository - The repository that contains the package version with the requested asset.
      • getRepository

        public String getRepository()

        The repository that contains the package version with the requested asset.

        Returns:
        The repository that contains the package version with the requested asset.
      • withRepository

        public GetPackageVersionAssetRequest withRepository(String repository)

        The repository that contains the package version with the requested asset.

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

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

        public String getFormat()

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

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

        public GetPackageVersionAssetRequest withFormat(String format)

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

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

        public GetPackageVersionAssetRequest withFormat(PackageFormat format)

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

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

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

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

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

        The namespace is required when requesting assets 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 GetPackageVersionAssetRequest withNamespace(String namespace)

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

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

        The namespace is required when requesting assets 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 that contains the requested asset.

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

        public String getPackage()

        The name of the package that contains the requested asset.

        Returns:
        The name of the package that contains the requested asset.
      • withPackage

        public GetPackageVersionAssetRequest withPackage(String packageValue)

        The name of the package that contains the requested asset.

        Parameters:
        packageValue - The name of the package that contains the requested asset.
        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 GetPackageVersionAssetRequest 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.
      • setAsset

        public void setAsset(String asset)

        The name of the requested asset.

        Parameters:
        asset - The name of the requested asset.
      • getAsset

        public String getAsset()

        The name of the requested asset.

        Returns:
        The name of the requested asset.
      • withAsset

        public GetPackageVersionAssetRequest withAsset(String asset)

        The name of the requested asset.

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

        public void setPackageVersionRevision(String packageVersionRevision)

        The name of the package version revision that contains the requested asset.

        Parameters:
        packageVersionRevision - The name of the package version revision that contains the requested asset.
      • getPackageVersionRevision

        public String getPackageVersionRevision()

        The name of the package version revision that contains the requested asset.

        Returns:
        The name of the package version revision that contains the requested asset.
      • withPackageVersionRevision

        public GetPackageVersionAssetRequest withPackageVersionRevision(String packageVersionRevision)

        The name of the package version revision that contains the requested asset.

        Parameters:
        packageVersionRevision - The name of the package version revision that contains the requested asset.
        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 によって変換されたページ (->オリジナル) /