Package com.intercom.api.types
Class CustomChannelAttribute.Builder
- java.lang.Object
-
- com.intercom.api.types.CustomChannelAttribute.Builder
-
- All Implemented Interfaces:
CustomChannelAttribute._FinalStage,CustomChannelAttribute.IdStage,CustomChannelAttribute.ValueStage
- Enclosing class:
- CustomChannelAttribute
public static final class CustomChannelAttribute.Builder extends java.lang.Object implements CustomChannelAttribute.IdStage, CustomChannelAttribute.ValueStage, CustomChannelAttribute._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomChannelAttributebuild()CustomChannelAttribute.Builderfrom(CustomChannelAttribute other)CustomChannelAttribute.ValueStageid(java.lang.String id)Identifier for the attribute being collected.CustomChannelAttribute._FinalStagevalue(java.lang.String value)Value provided by the user for the attribute.
-
-
-
Method Detail
-
from
public CustomChannelAttribute.Builder from(CustomChannelAttribute other)
- Specified by:
fromin interfaceCustomChannelAttribute.IdStage
-
id
public CustomChannelAttribute.ValueStage id(@NotNull java.lang.String id)
Identifier for the attribute being collected.
Identifier for the attribute being collected.
- Specified by:
idin interfaceCustomChannelAttribute.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
public CustomChannelAttribute._FinalStage value(@NotNull java.lang.String value)
Value provided by the user for the attribute.
Value provided by the user for the attribute.
- Specified by:
valuein interfaceCustomChannelAttribute.ValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public CustomChannelAttribute build()
- Specified by:
buildin interfaceCustomChannelAttribute._FinalStage
-
-