Class WorkRequestLogEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.WorkRequestLogEntry.Builder
-
- Enclosing class:
- WorkRequestLogEntry
public static class WorkRequestLogEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkRequestLogEntry
build()
WorkRequestLogEntry.Builder
copy(WorkRequestLogEntry model)
WorkRequestLogEntry.Builder
id(Integer id)
The identifier of the work request log.WorkRequestLogEntry.Builder
message(String message)
A human-readable log message.WorkRequestLogEntry.Builder
timestamp(Date timestamp)
The date and time the log message was written, described in RFC 3339.WorkRequestLogEntry.Builder
workRequestId(String workRequestId)
The OCID of the work request.
-
-
-
Method Detail
-
id
public WorkRequestLogEntry.Builder id(Integer id)
The identifier of the work request log.- Parameters:
id
- the value to set- Returns:
- this builder
-
workRequestId
public WorkRequestLogEntry.Builder workRequestId(String workRequestId)
The OCID of the work request.- Parameters:
workRequestId
- the value to set- Returns:
- this builder
-
message
public WorkRequestLogEntry.Builder message(String message)
A human-readable log message.- Parameters:
message
- the value to set- Returns:
- this builder
-
timestamp
public WorkRequestLogEntry.Builder timestamp(Date timestamp)
The date and time the log message was written, described in RFC 3339.The precision for the time object is in milliseconds.
- Parameters:
timestamp
- the value to set- Returns:
- this builder
-
build
public WorkRequestLogEntry build()
-
copy
public WorkRequestLogEntry.Builder copy(WorkRequestLogEntry model)
-
-