Class Control.Builder

  • Enclosing class:
    Control

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

      Constructors 
      Constructor Description
      Builder()
      Instantiates a new builder.
      Builder​(Grant grant)
      Instantiates a new builder with required properties.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(Grant grant)
        Instantiates a new builder with required properties.
        Parameters:
        grant - the grant
    • Method Detail

      • build

        public Control build()
        Builds a Control.
        Returns:
        the new Control instance
      • grant

        public Control.Builder grant​(Grant grant)
        Set the grant.
        Parameters:
        grant - the grant
        Returns:
        the Control builder