Package com.intercom.api.types
Class Translation.Builder
java.lang.Object
com.intercom.api.types.Translation.Builder
- All Implemented Interfaces:
Translation._FinalStage,Translation.DescriptionStage,Translation.LocaleStage,Translation.NameStage
- Enclosing class:
Translation
public static final class Translation.Builder
extends Object
implements Translation.NameStage, Translation.DescriptionStage, Translation.LocaleStage, Translation._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) The localised description of the subscription type.from(Translation other) The two character identifier for the language of the translation object.The localised name of the subscription type.
-
Method Details
-
from
- Specified by:
fromin interfaceTranslation.NameStage
-
name
The localised name of the subscription type.
- Specified by:
namein interfaceTranslation.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
The localised description of the subscription type.
- Specified by:
descriptionin interfaceTranslation.DescriptionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
locale
The two character identifier for the language of the translation object.
- Specified by:
localein interfaceTranslation.LocaleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
- Specified by:
buildin interfaceTranslation._FinalStage
-