Class RuleGrantee.Builder

  • Enclosing class:
    RuleGrantee

    public static class RuleGrantee.Builder
    extends java.lang.Object
    Builder.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Instantiates a new builder.
      Builder​(java.lang.String value, java.lang.String key, java.lang.String type)
      Instantiates a new builder with required properties.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String value,
                       java.lang.String key,
                       java.lang.String type)
        Instantiates a new builder with required properties.
        Parameters:
        value - the value
        key - the key
        type - the type
    • Method Detail

      • build

        public RuleGrantee build()
        Builds a RuleGrantee.
        Returns:
        the new RuleGrantee instance
      • value

        public RuleGrantee.Builder value​(java.lang.String value)
        Set the value.
        Parameters:
        value - the value
        Returns:
        the RuleGrantee builder
      • key

        public RuleGrantee.Builder key​(java.lang.String key)
        Set the key.
        Parameters:
        key - the key
        Returns:
        the RuleGrantee builder
      • type

        public RuleGrantee.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the RuleGrantee builder