Class Group.UpdateGroupBuilder

  • Enclosing class:
    Group

    public static class Group.UpdateGroupBuilder
    extends java.lang.Object
    A convenience class to update a Group object with the necessary fields to create the group by putting it to smartsheet.
    • Constructor Detail

      • UpdateGroupBuilder

        public UpdateGroupBuilder()
    • Method Detail

      • setName

        public Group.UpdateGroupBuilder setName​(java.lang.String name)
        Sets the name for the Group being created.
        Parameters:
        name - The name for the Group being created.
        Returns:
        the creates the builder
      • getName

        public java.lang.String getName()
        Returns the name for the group.
        Returns:
        the name
      • build

        public Group build()
        Creates a user by using the values from setters in this builder.
        Returns:
        the sheet
      • getDescription

        public java.lang.String getDescription()
        Returns:
        the description of the group
      • setDescription

        public Group.UpdateGroupBuilder setDescription​(java.lang.String description)
        Parameters:
        description - the description to set
        Returns:
        the builder
      • getId

        public java.lang.Long getId()
        Returns:
        the id of the Group
      • setId

        public Group.UpdateGroupBuilder setId​(java.lang.Long id)
        Parameters:
        id - the id to set
        Returns:
        the builder