public static class MonitorResultData.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MonitorResultData |
build() |
MonitorResultData.Builder |
byteContent(byte[] byteContent)
Data content in byte format.
|
MonitorResultData.Builder |
copy(MonitorResultData model) |
MonitorResultData.Builder |
name(String name)
Name of the data.
|
MonitorResultData.Builder |
stringContent(String stringContent)
Data content in string format.
|
MonitorResultData.Builder |
timestamp(Date timestamp)
The time when the data was generated, expressed in RFC
3339 timestamp format.
|
public MonitorResultData.Builder name(String name)
Name of the data.
name
- the value to setpublic MonitorResultData.Builder byteContent(byte[] byteContent)
Data content in byte format. Example: Zip or Screenshot.
byteContent
- the value to setpublic MonitorResultData.Builder stringContent(String stringContent)
Data content in string format. Example: HAR.
stringContent
- the value to setpublic MonitorResultData.Builder timestamp(Date timestamp)
The time when the data was generated, expressed in RFC
3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
timestamp
- the value to setpublic MonitorResultData build()
public MonitorResultData.Builder copy(MonitorResultData model)
Copyright © 2016–2024. All rights reserved.