Package com.smartsheet.api.models
Class Column.UpdateColumnBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Column.UpdateColumnBuilder
-
- Enclosing class:
- Column
public static class Column.UpdateColumnBuilder extends java.lang.ObjectThe Class UpdateColumnBuilder.
-
-
Constructor Summary
Constructors Constructor Description UpdateColumnBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Columnbuild()Builds the column.AutoNumberFormatgetAutoNumberFormat()Gets the auto number format.java.lang.LonggetColumnId()Gets the column id.FormatgetFormat()Gets the formatintgetIndex()Gets the index.java.util.List<java.lang.String>getOptions()Gets the options.java.lang.LonggetSheetId()Gets the sheet id.SymbolgetSymbol()Gets the symbol.SystemColumnTypegetSystemColumnType()Gets the system column type.java.lang.StringgetTitle()Gets the title.ColumnTypegetType()Gets the type.java.lang.BooleangetValidation()Gets the value of the validation flagjava.lang.IntegergetWidth()Gets the widthColumn.UpdateColumnBuildersetAutoNumberFormat(AutoNumberFormat autoNumberFormat)Sets the format for an auto number column.Column.UpdateColumnBuildersetColumnId(java.lang.Long columnId)Sets the position for the column.Column.UpdateColumnBuildersetFormat(Format format)Sets the formatColumn.UpdateColumnBuildersetIndex(int index)Sets the position for the column.Column.UpdateColumnBuildersetOptions(java.util.List<java.lang.String> options)Sets the options for the column.Column.UpdateColumnBuildersetSheetId(java.lang.Long sheetId)Sets the sheet id.Column.UpdateColumnBuildersetSymbol(Symbol symbol)Sets the symbol for the column.Column.UpdateColumnBuildersetSystemColumnType(SystemColumnType systemColumnType)Sets the system column type for the column.Column.UpdateColumnBuildersetTitle(java.lang.String title)Sets the title for the column.Column.UpdateColumnBuildersetType(ColumnType type)Sets the type for the column.Column.UpdateColumnBuildersetValidation(java.lang.Boolean validation)Sets the value of the validation flagColumn.UpdateColumnBuildersetWidth(java.lang.Integer width)Sets the width
-
-
-
Method Detail
-
getColumnId
public java.lang.Long getColumnId()
Gets the column id.- Returns:
- the column id
-
setColumnId
public Column.UpdateColumnBuilder setColumnId(java.lang.Long columnId)
Sets the position for the column.- Parameters:
columnId- the columnId- Returns:
- the modify column builder
-
setIndex
public Column.UpdateColumnBuilder setIndex(int index)
Sets the position for the column.- Parameters:
index- the position- Returns:
- the modify column builder
-
setTitle
public Column.UpdateColumnBuilder setTitle(java.lang.String title)
Sets the title for the column.- Parameters:
title- the title- Returns:
- the modify column builder
-
setType
public Column.UpdateColumnBuilder setType(ColumnType type)
Sets the type for the column.- Parameters:
type- the type- Returns:
- the modify column builder
-
setOptions
public Column.UpdateColumnBuilder setOptions(java.util.List<java.lang.String> options)
Sets the options for the column.- Parameters:
options- the options- Returns:
- the modify column builder
-
setSymbol
public Column.UpdateColumnBuilder setSymbol(Symbol symbol)
Sets the symbol for the column.- Parameters:
symbol- the symbol- Returns:
- the modify column builder
-
setSystemColumnType
public Column.UpdateColumnBuilder setSystemColumnType(SystemColumnType systemColumnType)
Sets the system column type for the column.- Parameters:
systemColumnType- the system column type- Returns:
- the modify column builder
-
setAutoNumberFormat
public Column.UpdateColumnBuilder setAutoNumberFormat(AutoNumberFormat autoNumberFormat)
Sets the format for an auto number column.- Parameters:
autoNumberFormat- the auto number format- Returns:
- the modify column builder
-
setSheetId
public Column.UpdateColumnBuilder setSheetId(java.lang.Long sheetId)
Sets the sheet id.- Parameters:
sheetId- the sheet id- Returns:
- the modify column builder
-
setFormat
public Column.UpdateColumnBuilder setFormat(Format format)
Sets the format- Parameters:
format- the format- Returns:
- the modify column builder
-
setWidth
public Column.UpdateColumnBuilder setWidth(java.lang.Integer width)
Sets the width- Parameters:
width- the width- Returns:
- the modify column builder
-
setValidation
public Column.UpdateColumnBuilder setValidation(java.lang.Boolean validation)
Sets the value of the validation flag- Returns:
- the modify column builder
-
getIndex
public int getIndex()
Gets the index.- Returns:
- the index
-
getTitle
public java.lang.String getTitle()
Gets the title.- Returns:
- the title
-
getType
public ColumnType getType()
Gets the type.- Returns:
- the type
-
getOptions
public java.util.List<java.lang.String> getOptions()
Gets the options.- Returns:
- the options
-
getSymbol
public Symbol getSymbol()
Gets the symbol.- Returns:
- the symbol
-
getSystemColumnType
public SystemColumnType getSystemColumnType()
Gets the system column type.- Returns:
- the system column type
-
getAutoNumberFormat
public AutoNumberFormat getAutoNumberFormat()
Gets the auto number format.- Returns:
- the auto number format
-
getSheetId
public java.lang.Long getSheetId()
Gets the sheet id.- Returns:
- the sheet id
-
getWidth
public java.lang.Integer getWidth()
Gets the width- Returns:
- the width
-
getFormat
public Format getFormat()
Gets the format- Returns:
- the format
-
getValidation
public java.lang.Boolean getValidation()
Gets the value of the validation flag- Returns:
- the validation flag
-
build
public Column build()
Builds the column.- Returns:
- the column
-
-