public static class WorkItemSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkItemSummary |
build() |
WorkItemSummary.Builder |
copy(WorkItemSummary model) |
WorkItemSummary.Builder |
details(WorkItemDetails details) |
WorkItemSummary.Builder |
id(String id)
The unique ID of ths work item.
|
WorkItemSummary.Builder |
installationSite(InstallationSite installationSite) |
WorkItemSummary.Builder |
retryCount(Integer retryCount)
Number of times this work item is retried.
|
WorkItemSummary.Builder |
status(WorkItemStatus status)
The status of the work item.
|
WorkItemSummary.Builder |
timeLastUpdated(Date timeLastUpdated)
The date and time the work item was last updated.
|
WorkItemSummary.Builder |
workRequestId(String workRequestId)
The OCID of the work request created this work item.
|
public WorkItemSummary.Builder id(String id)
The unique ID of ths work item.
id
- the value to setpublic WorkItemSummary.Builder workRequestId(String workRequestId)
The OCID of the work request created this work item.
workRequestId
- the value to setpublic WorkItemSummary.Builder installationSite(InstallationSite installationSite)
public WorkItemSummary.Builder details(WorkItemDetails details)
public WorkItemSummary.Builder status(WorkItemStatus status)
The status of the work item.
status
- the value to setpublic WorkItemSummary.Builder retryCount(Integer retryCount)
Number of times this work item is retried.
retryCount
- the value to setpublic WorkItemSummary.Builder timeLastUpdated(Date timeLastUpdated)
The date and time the work item was last updated. (formatted according to RFC3339).
timeLastUpdated
- the value to setpublic WorkItemSummary build()
public WorkItemSummary.Builder copy(WorkItemSummary model)
Copyright © 2016–2024. All rights reserved.