Class GlobalEventNotification.Builder
- java.lang.Object
-
- com.rivet.api.resources.identity.common.types.GlobalEventNotification.Builder
-
- All Implemented Interfaces:
GlobalEventNotification._FinalStage,GlobalEventNotification.DescriptionStage,GlobalEventNotification.ThumbnailUrlStage,GlobalEventNotification.TitleStage,GlobalEventNotification.UrlStage
- Enclosing class:
- GlobalEventNotification
public static final class GlobalEventNotification.Builder extends java.lang.Object implements GlobalEventNotification.TitleStage, GlobalEventNotification.DescriptionStage, GlobalEventNotification.ThumbnailUrlStage, GlobalEventNotification.UrlStage, GlobalEventNotification._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalEventNotificationbuild()GlobalEventNotification.ThumbnailUrlStagedescription(java.lang.String description)GlobalEventNotification.Builderfrom(GlobalEventNotification other)GlobalEventNotification.UrlStagethumbnailUrl(java.lang.String thumbnailUrl)URL to an image thumbnail that should be shown for this notification.GlobalEventNotification.DescriptionStagetitle(java.lang.String title)GlobalEventNotification._FinalStageurl(java.lang.String url)Rivet Hub URL that holds the relevant context for this notification.
-
-
-
Method Detail
-
from
public GlobalEventNotification.Builder from(GlobalEventNotification other)
- Specified by:
fromin interfaceGlobalEventNotification.TitleStage
-
title
public GlobalEventNotification.DescriptionStage title(java.lang.String title)
- Specified by:
titlein interfaceGlobalEventNotification.TitleStage
-
description
public GlobalEventNotification.ThumbnailUrlStage description(java.lang.String description)
- Specified by:
descriptionin interfaceGlobalEventNotification.DescriptionStage
-
thumbnailUrl
public GlobalEventNotification.UrlStage thumbnailUrl(java.lang.String thumbnailUrl)
URL to an image thumbnail that should be shown for this notification.
- Specified by:
thumbnailUrlin interfaceGlobalEventNotification.ThumbnailUrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
public GlobalEventNotification._FinalStage url(java.lang.String url)
Rivet Hub URL that holds the relevant context for this notification.
- Specified by:
urlin interfaceGlobalEventNotification.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public GlobalEventNotification build()
- Specified by:
buildin interfaceGlobalEventNotification._FinalStage
-
-