Package com.smartsheet.api.models
Class Sheet.CreateSheetBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Sheet.CreateSheetBuilder
-
-
Constructor Summary
Constructors Constructor Description CreateSheetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sheet
build()
Creates a sheet by using the values from setters in this builder.java.util.List<Column>
getColumns()
Returns the list of columns.java.lang.String
getName()
Returns the name for the sheet.Sheet.CreateSheetBuilder
setColumns(java.util.List<Column> columns)
Sets the columns for the sheet being created.Sheet.CreateSheetBuilder
setName(java.lang.String name)
Sets the name for the sheet being created.
-
-
-
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
-
-