Class Filter.Builder

  • Enclosing class:
    Filter

    public static class Filter.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • type

        public Filter.Builder type​(Filter.Type type)
        The type of filter.

        You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.

        Parameters:
        type - the value to set
        Returns:
        this builder
      • value

        public Filter.Builder value​(String value)
        The value of the filter.
        Parameters:
        value - the value to set
        Returns:
        this builder
      • build

        public Filter build()