Interface PackageGroupOriginRestriction.Builder

    • Method Detail

      • mode

        PackageGroupOriginRestriction.Builder mode​(String mode)

        The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

        Parameters:
        mode - The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageGroupOriginRestrictionMode, PackageGroupOriginRestrictionMode
      • mode

        PackageGroupOriginRestriction.Builder mode​(PackageGroupOriginRestrictionMode mode)

        The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

        Parameters:
        mode - The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageGroupOriginRestrictionMode, PackageGroupOriginRestrictionMode
      • effectiveMode

        PackageGroupOriginRestriction.Builder effectiveMode​(String effectiveMode)

        The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

        Parameters:
        effectiveMode - The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageGroupOriginRestrictionMode, PackageGroupOriginRestrictionMode
      • effectiveMode

        PackageGroupOriginRestriction.Builder effectiveMode​(PackageGroupOriginRestrictionMode effectiveMode)

        The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

        Parameters:
        effectiveMode - The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PackageGroupOriginRestrictionMode, PackageGroupOriginRestrictionMode
      • inheritedFrom

        PackageGroupOriginRestriction.Builder inheritedFrom​(PackageGroupReference inheritedFrom)

        The parent package group that the package group origin restrictions are inherited from.

        Parameters:
        inheritedFrom - The parent package group that the package group origin restrictions are inherited from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoriesCount

        PackageGroupOriginRestriction.Builder repositoriesCount​(Long repositoriesCount)

        The number of repositories in the allowed repository list.

        Parameters:
        repositoriesCount - The number of repositories in the allowed repository list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.