Class Agent.Builder

  • Enclosing class:
    Agent

    public static class Agent.Builder
    extends Object
    • Method Detail

      • address

        public Agent.Builder address​(String address)
        Sets the value of the address property.
      • telephone

        public Agent.Builder telephone​(String telephone)
        Sets the value of the telephone property.
      • build

        public Agent build()
        Returns:
        the immutable Agent instance build from the builder contents