Package com.intercom.api.types
Class SocialProfile.Builder
- java.lang.Object
-
- com.intercom.api.types.SocialProfile.Builder
-
- All Implemented Interfaces:
SocialProfile._FinalStage,SocialProfile.NameStage,SocialProfile.UrlStage
- Enclosing class:
- SocialProfile
public static final class SocialProfile.Builder extends java.lang.Object implements SocialProfile.NameStage, SocialProfile.UrlStage, SocialProfile._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocialProfilebuild()SocialProfile.Builderfrom(SocialProfile other)SocialProfile.UrlStagename(java.lang.String name)The name of the Social media profileSocialProfile._FinalStageurl(java.lang.String url)The name of the Social media profile
-
-
-
Method Detail
-
from
public SocialProfile.Builder from(SocialProfile other)
- Specified by:
fromin interfaceSocialProfile.NameStage
-
name
public SocialProfile.UrlStage name(@NotNull java.lang.String name)
The name of the Social media profileThe name of the Social media profile
- Specified by:
namein interfaceSocialProfile.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
public SocialProfile._FinalStage url(@NotNull java.lang.String url)
The name of the Social media profileThe name of the Social media profile
- Specified by:
urlin interfaceSocialProfile.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public SocialProfile build()
- Specified by:
buildin interfaceSocialProfile._FinalStage
-
-