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 java.lang.Object implements Translation.NameStage, Translation.DescriptionStage, Translation.LocaleStage, Translation._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Translationbuild()Translation.LocaleStagedescription(java.lang.String description)The localised description of the subscription type.Translation.Builderfrom(Translation other)Translation._FinalStagelocale(java.lang.String locale)The two character identifier for the language of the translation object.Translation.DescriptionStagename(java.lang.String name)The localised name of the subscription type.
-
-
-
Method Detail
-
from
public Translation.Builder from(Translation other)
- Specified by:
fromin interfaceTranslation.NameStage
-
name
public Translation.DescriptionStage name(@NotNull java.lang.String name)
The localised name of the subscription type.The localised name of the subscription type.
- Specified by:
namein interfaceTranslation.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public Translation.LocaleStage description(@NotNull java.lang.String description)
The localised description of the subscription type.The localised description of the subscription type.
- Specified by:
descriptionin interfaceTranslation.DescriptionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
locale
public Translation._FinalStage locale(@NotNull java.lang.String locale)
The two character identifier for the language of the translation object.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
public Translation build()
- Specified by:
buildin interfaceTranslation._FinalStage
-
-