public static class ResourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceSummary |
build() |
ResourceSummary.Builder |
copy(ResourceSummary model) |
ResourceSummary.Builder |
description(String description)
Description of the Resource Execution status.
|
ResourceSummary.Builder |
resourceDisplayName(String resourceDisplayName)
Resource Display Name.
|
ResourceSummary.Builder |
resourceId(String resourceId)
Resource Identifier associated with the Work Request.
|
ResourceSummary.Builder |
sequence(String sequence)
The sequence of the Resource.
|
ResourceSummary.Builder |
status(JobStatus status)
Status of the Job at Resource Level.
|
ResourceSummary.Builder |
targets(List<ActivityResourceTarget> targets)
Targets associated with the resource.
|
ResourceSummary.Builder |
timeEnded(Date timeEnded)
The time the task ended for the resource.
|
ResourceSummary.Builder |
timeStarted(Date timeStarted)
The time the task started for the resource.
|
public ResourceSummary.Builder resourceId(String resourceId)
Resource Identifier associated with the Work Request.
resourceId
- the value to setpublic ResourceSummary.Builder resourceDisplayName(String resourceDisplayName)
Resource Display Name.
resourceDisplayName
- the value to setpublic ResourceSummary.Builder description(String description)
Description of the Resource Execution status. If there are any errors, this can also include a short error message.
description
- the value to setpublic ResourceSummary.Builder sequence(String sequence)
The sequence of the Resource.
sequence
- the value to setpublic ResourceSummary.Builder targets(List<ActivityResourceTarget> targets)
Targets associated with the resource.
targets
- the value to setpublic ResourceSummary.Builder status(JobStatus status)
Status of the Job at Resource Level.
status
- the value to setpublic ResourceSummary.Builder timeStarted(Date timeStarted)
The time the task started for the resource. An RFC3339 formatted datetime string
timeStarted
- the value to setpublic ResourceSummary.Builder timeEnded(Date timeEnded)
The time the task ended for the resource. An RFC3339 formatted datetime string
timeEnded
- the value to setpublic ResourceSummary build()
public ResourceSummary.Builder copy(ResourceSummary model)
Copyright © 2016–2024. All rights reserved.