Class BoundedSum.Params.Builder

  • Enclosing class:
    BoundedSum.Params

    public abstract static class BoundedSum.Params.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • delta

        public abstract BoundedSum.Params.Builder delta​(@Nullable
                                                        java.lang.Double value)
        Delta DP parameter.

        Note that Laplace noise does not use delta. Hence, delta should not be set when Laplace noise is used.

      • maxPartitionsContributed

        public abstract BoundedSum.Params.Builder maxPartitionsContributed​(int value)
        Maximum number of partitions to which a single privacy unit (i.e., an individual) is allowed to contribute.
      • lower

        public abstract BoundedSum.Params.Builder lower​(double value)
        Lower bound for the entries added to the sum. Any entires smaller than this value will be set to this value.
      • upper

        public abstract BoundedSum.Params.Builder upper​(double value)
        Upper bound for the entries added to the sum. Any entires greater than this value will be set to this value.