Class MonitorResultData.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.MonitorResultData.Builder
-
- Enclosing class:
- MonitorResultData
public static class MonitorResultData.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitorResultDatabuild()MonitorResultData.BuilderbyteContent(byte[] byteContent)Data content in byte format.MonitorResultData.Buildercopy(MonitorResultData model)MonitorResultData.Buildername(String name)Name of the data.MonitorResultData.BuilderstringContent(String stringContent)Data content in string format.MonitorResultData.Buildertimestamp(Date timestamp)The time when the data was generated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
name
public MonitorResultData.Builder name(String name)
Name of the data.- Parameters:
name- the value to set- Returns:
- this builder
-
byteContent
public MonitorResultData.Builder byteContent(byte[] byteContent)
Data content in byte format.Example: Zip or Screenshot.
- Parameters:
byteContent- the value to set- Returns:
- this builder
-
stringContent
public MonitorResultData.Builder stringContent(String stringContent)
Data content in string format.Example: HAR.
- Parameters:
stringContent- the value to set- Returns:
- this builder
-
timestamp
public 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
- Parameters:
timestamp- the value to set- Returns:
- this builder
-
build
public MonitorResultData build()
-
copy
public MonitorResultData.Builder copy(MonitorResultData model)
-
-