Package com.intercom.api.types
Class GroupContent.Builder
- java.lang.Object
-
- com.intercom.api.types.GroupContent.Builder
-
- All Implemented Interfaces:
GroupContent._FinalStage,GroupContent.DescriptionStage,GroupContent.NameStage
- Enclosing class:
- GroupContent
public static final class GroupContent.Builder extends java.lang.Object implements GroupContent.NameStage, GroupContent.DescriptionStage, GroupContent._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupContentbuild()GroupContent._FinalStagedescription(java.lang.String description)The description of the collection.GroupContent.Builderfrom(GroupContent other)GroupContent.DescriptionStagename(java.lang.String name)The name of the collection or section.
-
-
-
Method Detail
-
from
public GroupContent.Builder from(GroupContent other)
- Specified by:
fromin interfaceGroupContent.NameStage
-
name
public GroupContent.DescriptionStage name(@NotNull java.lang.String name)
The name of the collection or section.The name of the collection or section.
- Specified by:
namein interfaceGroupContent.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public GroupContent._FinalStage description(@NotNull java.lang.String description)
The description of the collection. Only available for collections.The description of the collection. Only available for collections.
- Specified by:
descriptionin interfaceGroupContent.DescriptionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public GroupContent build()
- Specified by:
buildin interfaceGroupContent._FinalStage
-
-