Package com.chrt.api.types
Class NotificationIntentAdHoc1.Builder
- java.lang.Object
-
- com.chrt.api.types.NotificationIntentAdHoc1.Builder
-
- All Implemented Interfaces:
NotificationIntentAdHoc1._FinalStage,NotificationIntentAdHoc1.CreatedAtTimestampStage,NotificationIntentAdHoc1.CreatedByOrgIdStage,NotificationIntentAdHoc1.CreatedByUserIdStage,NotificationIntentAdHoc1.DirectoryEntryIdStage,NotificationIntentAdHoc1.IdStage,NotificationIntentAdHoc1.OrderIdStage,NotificationIntentAdHoc1.SchemaVersionStage
- Enclosing class:
- NotificationIntentAdHoc1
public static final class NotificationIntentAdHoc1.Builder extends java.lang.Object implements NotificationIntentAdHoc1.SchemaVersionStage, NotificationIntentAdHoc1.CreatedAtTimestampStage, NotificationIntentAdHoc1.CreatedByOrgIdStage, NotificationIntentAdHoc1.CreatedByUserIdStage, NotificationIntentAdHoc1.OrderIdStage, NotificationIntentAdHoc1.DirectoryEntryIdStage, NotificationIntentAdHoc1.IdStage, NotificationIntentAdHoc1._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public NotificationIntentAdHoc1.Builder from(NotificationIntentAdHoc1 other)
- Specified by:
fromin interfaceNotificationIntentAdHoc1.SchemaVersionStage
-
schemaVersion
public NotificationIntentAdHoc1.CreatedAtTimestampStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceNotificationIntentAdHoc1.SchemaVersionStage
-
createdAtTimestamp
public NotificationIntentAdHoc1.CreatedByOrgIdStage createdAtTimestamp(@NotNull java.time.OffsetDateTime createdAtTimestamp)
- Specified by:
createdAtTimestampin interfaceNotificationIntentAdHoc1.CreatedAtTimestampStage
-
createdByOrgId
public NotificationIntentAdHoc1.CreatedByUserIdStage createdByOrgId(@NotNull java.lang.String createdByOrgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
createdByOrgIdin interfaceNotificationIntentAdHoc1.CreatedByOrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdByUserId
public NotificationIntentAdHoc1.OrderIdStage createdByUserId(@NotNull java.lang.String createdByUserId)
Must be a string starting with
user_Must be a string starting with
user_- Specified by:
createdByUserIdin interfaceNotificationIntentAdHoc1.CreatedByUserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orderId
public NotificationIntentAdHoc1.DirectoryEntryIdStage orderId(@NotNull java.lang.String orderId)
- Specified by:
orderIdin interfaceNotificationIntentAdHoc1.OrderIdStage
-
directoryEntryId
public NotificationIntentAdHoc1.IdStage directoryEntryId(@NotNull java.lang.String directoryEntryId)
- Specified by:
directoryEntryIdin interfaceNotificationIntentAdHoc1.DirectoryEntryIdStage
-
id
public NotificationIntentAdHoc1._FinalStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceNotificationIntentAdHoc1.IdStage
-
smsEvents
public NotificationIntentAdHoc1._FinalStage smsEvents(java.util.List<NotificationEventsForAdHocEnum> smsEvents)
- Specified by:
smsEventsin interfaceNotificationIntentAdHoc1._FinalStage
-
smsEvents
public NotificationIntentAdHoc1._FinalStage smsEvents(java.util.Optional<java.util.List<NotificationEventsForAdHocEnum>> smsEvents)
- Specified by:
smsEventsin interfaceNotificationIntentAdHoc1._FinalStage
-
pushEvents
public NotificationIntentAdHoc1._FinalStage pushEvents(java.util.List<NotificationEventsForAdHocEnum> pushEvents)
- Specified by:
pushEventsin interfaceNotificationIntentAdHoc1._FinalStage
-
pushEvents
public NotificationIntentAdHoc1._FinalStage pushEvents(java.util.Optional<java.util.List<NotificationEventsForAdHocEnum>> pushEvents)
- Specified by:
pushEventsin interfaceNotificationIntentAdHoc1._FinalStage
-
emailEvents
public NotificationIntentAdHoc1._FinalStage emailEvents(java.util.List<NotificationEventsForAdHocEnum> emailEvents)
- Specified by:
emailEventsin interfaceNotificationIntentAdHoc1._FinalStage
-
emailEvents
public NotificationIntentAdHoc1._FinalStage emailEvents(java.util.Optional<java.util.List<NotificationEventsForAdHocEnum>> emailEvents)
- Specified by:
emailEventsin interfaceNotificationIntentAdHoc1._FinalStage
-
build
public NotificationIntentAdHoc1 build()
- Specified by:
buildin interfaceNotificationIntentAdHoc1._FinalStage
-
-