public static class OpenAlertSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OpenAlertSummary |
build() |
OpenAlertSummary.Builder |
copy(OpenAlertSummary model) |
OpenAlertSummary.Builder |
message(String message)
The alert message.
|
OpenAlertSummary.Builder |
severity(AlertSeverityEnum severity)
The severity of the alert.
|
OpenAlertSummary.Builder |
timeStartAt(Date timeStartAt)
The start time of the alert.
|
OpenAlertSummary.Builder |
type(AlertTypeEnum type)
The type of alert.
|
public OpenAlertSummary.Builder severity(AlertSeverityEnum severity)
The severity of the alert.
severity
- the value to setpublic OpenAlertSummary.Builder type(AlertTypeEnum type)
The type of alert.
type
- the value to setpublic OpenAlertSummary.Builder timeStartAt(Date timeStartAt)
The start time of the alert.
timeStartAt
- the value to setpublic OpenAlertSummary.Builder message(String message)
The alert message.
message
- the value to setpublic OpenAlertSummary build()
public OpenAlertSummary.Builder copy(OpenAlertSummary model)
Copyright © 2016–2024. All rights reserved.