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 PutPackageOriginConfigurationRequest

    • Constructor Detail

      • PutPackageOriginConfigurationRequest

        public PutPackageOriginConfigurationRequest()
    • 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 PutPackageOriginConfigurationRequest 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 PutPackageOriginConfigurationRequest 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 package.

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

        public String getRepository()

        The name of the repository that contains the package.

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

        public PutPackageOriginConfigurationRequest withRepository(String repository)

        The name of the repository that contains the package.

        Parameters:
        repository - The name of the repository that contains the 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 package to be updated.

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

        public String getFormat()

        A format that specifies the type of the package to be updated.

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

        public PutPackageOriginConfigurationRequest withFormat(String format)

        A format that specifies the type of the package to be updated.

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

        public PutPackageOriginConfigurationRequest withFormat(PackageFormat format)

        A format that specifies the type of the package to be updated.

        Parameters:
        format - A format that specifies the type of the package to be updated.
        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 to be updated. 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 to be updated. 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 to be updated. 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 to be updated. 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 PutPackageOriginConfigurationRequest withNamespace(String namespace)

        The namespace of the package to be updated. 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 to be updated. 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 to be updated.

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

        public String getPackage()

        The name of the package to be updated.

        Returns:
        The name of the package to be updated.
      • withPackage

        public PutPackageOriginConfigurationRequest withPackage(String packageValue)

        The name of the package to be updated.

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

        public void setRestrictions(PackageOriginRestrictions restrictions)

        A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

        You must include both the desired upstream and publish restrictions.

        Parameters:
        restrictions - A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

        You must include both the desired upstream and publish restrictions.

      • getRestrictions

        public PackageOriginRestrictions getRestrictions()

        A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

        You must include both the desired upstream and publish restrictions.

        Returns:
        A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

        You must include both the desired upstream and publish restrictions.

      • withRestrictions

        public PutPackageOriginConfigurationRequest withRestrictions(PackageOriginRestrictions restrictions)

        A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

        You must include both the desired upstream and publish restrictions.

        Parameters:
        restrictions - A PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions. The upstream restriction determines if new package versions can be ingested or retained from external connections or upstream repositories. The publish restriction determines if new package versions can be published directly to the repository.

        You must include both the desired upstream and publish restrictions.

        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 によって変換されたページ (->オリジナル) /