public final class NotifyParameters extends Object
Constructor and Description |
---|
NotifyParameters() |
Modifier and Type | Method and Description |
---|---|
NotificationChannelEventType |
eventName()
Get the eventName property: The type of event (i.e.
|
String |
jsonPayload()
Get the jsonPayload property: Properties for the notification in json format.
|
void |
validate()
Validates the instance.
|
NotifyParameters |
withEventName(NotificationChannelEventType eventName)
Set the eventName property: The type of event (i.e.
|
NotifyParameters |
withJsonPayload(String jsonPayload)
Set the jsonPayload property: Properties for the notification in json format.
|
public NotificationChannelEventType eventName()
public NotifyParameters withEventName(NotificationChannelEventType eventName)
eventName
- the eventName value to set.public String jsonPayload()
public NotifyParameters withJsonPayload(String jsonPayload)
jsonPayload
- the jsonPayload value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.