Class UpdateDataAttributeRequest.Builder
java.lang.Object
com.intercom.api.resources.dataattributes.requests.UpdateDataAttributeRequest.Builder
- All Implemented Interfaces:
UpdateDataAttributeRequest._FinalStage,UpdateDataAttributeRequest.DataAttributeIdStage
- Enclosing class:
UpdateDataAttributeRequest
public static final class UpdateDataAttributeRequest.Builder
extends Object
implements UpdateDataAttributeRequest.DataAttributeIdStage, UpdateDataAttributeRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionWhether the attribute is to be archived or not.build()dataAttributeId(String dataAttributeId) The data attribute iddescription(String description) The readable description you see in the UI for the attribute.description(Optional<String> description) from(UpdateDataAttributeRequest other) messengerWritable(Boolean messengerWritable) Can this attribute be updated by the MessengermessengerWritable(Optional<Boolean> messengerWritable) To create list attributes.
-
Method Details
-
from
- Specified by:
fromin interfaceUpdateDataAttributeRequest.DataAttributeIdStage
-
dataAttributeId
The data attribute id
- Specified by:
dataAttributeIdin interfaceUpdateDataAttributeRequest.DataAttributeIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
messengerWritable
Can this attribute be updated by the Messenger
- Specified by:
messengerWritablein interfaceUpdateDataAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
messengerWritable
public UpdateDataAttributeRequest._FinalStage messengerWritable(Optional<Boolean> messengerWritable) - Specified by:
messengerWritablein interfaceUpdateDataAttributeRequest._FinalStage
-
options
public UpdateDataAttributeRequest._FinalStage options(List<UpdateDataAttributeRequest.OptionsItem> options) To create list attributes. Provide a set of hashes with
valueas the key of the options you want to make.data_typemust bestring.- Specified by:
optionsin interfaceUpdateDataAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
options
public UpdateDataAttributeRequest._FinalStage options(Optional<List<UpdateDataAttributeRequest.OptionsItem>> options) - Specified by:
optionsin interfaceUpdateDataAttributeRequest._FinalStage
-
description
The readable description you see in the UI for the attribute.
- Specified by:
descriptionin interfaceUpdateDataAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
- Specified by:
descriptionin interfaceUpdateDataAttributeRequest._FinalStage
-
archived
Whether the attribute is to be archived or not.
- Specified by:
archivedin interfaceUpdateDataAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
archived
- Specified by:
archivedin interfaceUpdateDataAttributeRequest._FinalStage
-
build
- Specified by:
buildin interfaceUpdateDataAttributeRequest._FinalStage
-