Class Sheet.CreateSheetBuilder

  • Enclosing class:
    Sheet

    public static class Sheet.CreateSheetBuilder
    extends java.lang.Object
    A convenience class to make a Sheet object with the necessary fields to create the sheet by posting it to smartsheet.
    • Constructor Detail

      • CreateSheetBuilder

        public CreateSheetBuilder()
    • Method Detail

      • setColumns

        public Sheet.CreateSheetBuilder setColumns​(java.util.List<Column> columns)
        Sets the columns for the sheet being created.
        Parameters:
        columns - The columns to create with this sheet.
        Returns:
        the creates the builder
      • setName

        public Sheet.CreateSheetBuilder setName​(java.lang.String name)
        Sets the name for the sheet being created.
        Parameters:
        name - The name for the sheet being created.
        Returns:
        the creates the builder
      • getColumns

        public java.util.List<Column> getColumns()
        Returns the list of columns.
        Returns:
        the columns
      • getName

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

        public Sheet build()
        Creates a sheet by using the values from setters in this builder.
        Returns:
        the sheet