Package com.intercom.api.types
Class DataTableItem.Builder
- java.lang.Object
-
- com.intercom.api.types.DataTableItem.Builder
-
- All Implemented Interfaces:
DataTableItem._FinalStage,DataTableItem.FieldStage,DataTableItem.ValueStage
- Enclosing class:
- DataTableItem
public static final class DataTableItem.Builder extends java.lang.Object implements DataTableItem.FieldStage, DataTableItem.ValueStage, DataTableItem._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTableItembuild()DataTableItem.ValueStagefield(java.lang.String field)The text of the key in your key-value pair.DataTableItem.Builderfrom(DataTableItem other)DataTableItem._FinalStagevalue(java.lang.String value)The text of the value in your key-value pair.
-
-
-
Method Detail
-
from
public DataTableItem.Builder from(DataTableItem other)
- Specified by:
fromin interfaceDataTableItem.FieldStage
-
field
public DataTableItem.ValueStage field(@NotNull java.lang.String field)
The text of the key in your key-value pair.The text of the key in your key-value pair.
- Specified by:
fieldin interfaceDataTableItem.FieldStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
public DataTableItem._FinalStage value(@NotNull java.lang.String value)
The text of the value in your key-value pair.The text of the value in your key-value pair.
- Specified by:
valuein interfaceDataTableItem.ValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public DataTableItem build()
- Specified by:
buildin interfaceDataTableItem._FinalStage
-
-