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 UpdatePackageGroupOriginConfigurationRequest

    • Constructor Detail

      • UpdatePackageGroupOriginConfigurationRequest

        public UpdatePackageGroupOriginConfigurationRequest()
    • Method Detail

      • setDomain

        public void setDomain(String domain)

        The name of the domain which contains the package group for which to update the origin configuration.

        Parameters:
        domain - The name of the domain which contains the package group for which to update the origin configuration.
      • getDomain

        public String getDomain()

        The name of the domain which contains the package group for which to update the origin configuration.

        Returns:
        The name of the domain which contains the package group for which to update the origin configuration.
      • withDomain

        public UpdatePackageGroupOriginConfigurationRequest withDomain(String domain)

        The name of the domain which contains the package group for which to update the origin configuration.

        Parameters:
        domain - The name of the domain which contains the package group for which to update the origin configuration.
        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 UpdatePackageGroupOriginConfigurationRequest 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.
      • setPackageGroup

        public void setPackageGroup(String packageGroup)

        The pattern of the package group for which to update the origin configuration.

        Parameters:
        packageGroup - The pattern of the package group for which to update the origin configuration.
      • getPackageGroup

        public String getPackageGroup()

        The pattern of the package group for which to update the origin configuration.

        Returns:
        The pattern of the package group for which to update the origin configuration.
      • withPackageGroup

        public UpdatePackageGroupOriginConfigurationRequest withPackageGroup(String packageGroup)

        The pattern of the package group for which to update the origin configuration.

        Parameters:
        packageGroup - The pattern of the package group for which to update the origin configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRestrictions

        public Map<String,String> getRestrictions()

        The origin configuration settings that determine how package versions can enter repositories.

        Returns:
        The origin configuration settings that determine how package versions can enter repositories.
      • setRestrictions

        public void setRestrictions(Map<String,String> restrictions)

        The origin configuration settings that determine how package versions can enter repositories.

        Parameters:
        restrictions - The origin configuration settings that determine how package versions can enter repositories.
      • withRestrictions

        public UpdatePackageGroupOriginConfigurationRequest withRestrictions(Map<String,String> restrictions)

        The origin configuration settings that determine how package versions can enter repositories.

        Parameters:
        restrictions - The origin configuration settings that determine how package versions can enter repositories.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearRestrictionsEntries

        public UpdatePackageGroupOriginConfigurationRequest clearRestrictionsEntries()
        Removes all the entries added into Restrictions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAddAllowedRepositories

        public List<PackageGroupAllowedRepository> getAddAllowedRepositories()

        The repository name and restrictions to add to the allowed repository list of the specified package group.

        Returns:
        The repository name and restrictions to add to the allowed repository list of the specified package group.
      • setAddAllowedRepositories

        public void setAddAllowedRepositories(Collection<PackageGroupAllowedRepository> addAllowedRepositories)

        The repository name and restrictions to add to the allowed repository list of the specified package group.

        Parameters:
        addAllowedRepositories - The repository name and restrictions to add to the allowed repository list of the specified package group.
      • withAddAllowedRepositories

        public UpdatePackageGroupOriginConfigurationRequest withAddAllowedRepositories(Collection<PackageGroupAllowedRepository> addAllowedRepositories)

        The repository name and restrictions to add to the allowed repository list of the specified package group.

        Parameters:
        addAllowedRepositories - The repository name and restrictions to add to the allowed repository list of the specified package group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRemoveAllowedRepositories

        public List<PackageGroupAllowedRepository> getRemoveAllowedRepositories()

        The repository name and restrictions to remove from the allowed repository list of the specified package group.

        Returns:
        The repository name and restrictions to remove from the allowed repository list of the specified package group.
      • setRemoveAllowedRepositories

        public void setRemoveAllowedRepositories(Collection<PackageGroupAllowedRepository> removeAllowedRepositories)

        The repository name and restrictions to remove from the allowed repository list of the specified package group.

        Parameters:
        removeAllowedRepositories - The repository name and restrictions to remove from the allowed repository list of the specified package group.
      • withRemoveAllowedRepositories

        public UpdatePackageGroupOriginConfigurationRequest withRemoveAllowedRepositories(Collection<PackageGroupAllowedRepository> removeAllowedRepositories)

        The repository name and restrictions to remove from the allowed repository list of the specified package group.

        Parameters:
        removeAllowedRepositories - The repository name and restrictions to remove from the allowed repository list of the specified package group.
        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 によって変換されたページ (->オリジナル) /