Event Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. Event
- com.
public final class Event
An event to be notified for.
Constructor Summary
Constructor | Description |
---|---|
Event() |
Creates an instance of Event class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Notification |
eventName()
Get the event |
void |
validate()
Validates the instance. |
Event |
withEventName(NotificationChannelEventType eventName)
Set the event |
Methods inherited from java.lang.Object
Constructor Details
Event
public Event()
Creates an instance of Event class.
Method Details
eventName
public NotificationChannelEventType eventName()
Get the eventName property: The event type for which this notification is enabled (i.e. AutoShutdown, Cost).
Returns:
validate
public void validate()
Validates the instance.
withEventName
public Event withEventName(NotificationChannelEventType eventName)
Set the eventName property: The event type for which this notification is enabled (i.e. AutoShutdown, Cost).
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for