Class TagData.Builder
- java.lang.Object
-
- com.courier.api.resources.templates.types.TagData.Builder
-
- All Implemented Interfaces:
TagData._FinalStage,TagData.IdStage,TagData.NameStage
- Enclosing class:
- TagData
public static final class TagData.Builder extends java.lang.Object implements TagData.IdStage, TagData.NameStage, TagData._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagDatabuild()TagData.Builderfrom(TagData other)TagData.NameStageid(java.lang.String id)A unique identifier of the tag.TagData._FinalStagename(java.lang.String name)Name of the tag.
-
-
-
Method Detail
-
from
public TagData.Builder from(TagData other)
- Specified by:
fromin interfaceTagData.IdStage
-
id
public TagData.NameStage id(java.lang.String id)
A unique identifier of the tag.
- Specified by:
idin interfaceTagData.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public TagData._FinalStage name(java.lang.String name)
Name of the tag.
- Specified by:
namein interfaceTagData.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public TagData build()
- Specified by:
buildin interfaceTagData._FinalStage
-
-