Class Tag.Builder
- java.lang.Object
-
- com.intercom.api.resources.tags.types.Tag.Builder
-
- All Implemented Interfaces:
Tag._FinalStage,Tag.IdStage,Tag.NameStage
- Enclosing class:
- Tag
public static final class Tag.Builder extends java.lang.Object implements Tag.IdStage, Tag.NameStage, Tag._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tag._FinalStageappliedAt(java.lang.Integer appliedAt)The time when the tag was applied to the objectTag._FinalStageappliedAt(java.util.Optional<java.lang.Integer> appliedAt)The time when the tag was applied to the objectTag._FinalStageappliedBy(Reference appliedBy)Tag._FinalStageappliedBy(java.util.Optional<Reference> appliedBy)Tagbuild()Tag.Builderfrom(Tag other)Tag.NameStageid(java.lang.String id)The id of the tagTag._FinalStagename(java.lang.String name)The name of the tag
-
-
-
Method Detail
-
from
public Tag.Builder from(Tag other)
- Specified by:
fromin interfaceTag.IdStage
-
id
public Tag.NameStage id(@NotNull java.lang.String id)
The id of the tag
The id of the tag
- Specified by:
idin interfaceTag.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public Tag._FinalStage name(@NotNull java.lang.String name)
The name of the tag
The name of the tag
- Specified by:
namein interfaceTag.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
appliedBy
public Tag._FinalStage appliedBy(Reference appliedBy)
- Specified by:
appliedByin interfaceTag._FinalStage
-
appliedBy
public Tag._FinalStage appliedBy(java.util.Optional<Reference> appliedBy)
- Specified by:
appliedByin interfaceTag._FinalStage
-
appliedAt
public Tag._FinalStage appliedAt(java.lang.Integer appliedAt)
The time when the tag was applied to the object
- Specified by:
appliedAtin interfaceTag._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
appliedAt
public Tag._FinalStage appliedAt(java.util.Optional<java.lang.Integer> appliedAt)
The time when the tag was applied to the object
- Specified by:
appliedAtin interfaceTag._FinalStage
-
build
public Tag build()
- Specified by:
buildin interfaceTag._FinalStage
-
-