Class EntityExecutionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.EntityExecutionDetails.Builder
-
- Enclosing class:
- EntityExecutionDetails
public static class EntityExecutionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityExecutionDetails
build()
EntityExecutionDetails.Builder
copy(EntityExecutionDetails model)
EntityExecutionDetails.Builder
description(String description)
Description of the Resource Execution status.EntityExecutionDetails.Builder
resourceDisplayName(String resourceDisplayName)
Resource Display Name.EntityExecutionDetails.Builder
resourceId(String resourceId)
Resource Identifier associated with the Work Request.EntityExecutionDetails.Builder
sequence(String sequence)
The sequence of the Resource.EntityExecutionDetails.Builder
status(JobStatus status)
Status of the Job at Resource Level.EntityExecutionDetails.Builder
targets(List<ActivityResourceTarget> targets)
Targets associated with the resource.EntityExecutionDetails.Builder
timeEnded(Date timeEnded)
The time the task ended for the resource.EntityExecutionDetails.Builder
timeStarted(Date timeStarted)
The time the task started for the resource.
-
-
-
Method Detail
-
resourceId
public EntityExecutionDetails.Builder resourceId(String resourceId)
Resource Identifier associated with the Work Request.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
resourceDisplayName
public EntityExecutionDetails.Builder resourceDisplayName(String resourceDisplayName)
Resource Display Name.- Parameters:
resourceDisplayName
- the value to set- Returns:
- this builder
-
description
public EntityExecutionDetails.Builder description(String description)
Description of the Resource Execution status.If there are any errors, this can also include a short error message.
- Parameters:
description
- the value to set- Returns:
- this builder
-
sequence
public EntityExecutionDetails.Builder sequence(String sequence)
The sequence of the Resource.- Parameters:
sequence
- the value to set- Returns:
- this builder
-
targets
public EntityExecutionDetails.Builder targets(List<ActivityResourceTarget> targets)
Targets associated with the resource.- Parameters:
targets
- the value to set- Returns:
- this builder
-
status
public EntityExecutionDetails.Builder status(JobStatus status)
Status of the Job at Resource Level.- Parameters:
status
- the value to set- Returns:
- this builder
-
timeStarted
public EntityExecutionDetails.Builder timeStarted(Date timeStarted)
The time the task started for the resource.An RFC3339 formatted datetime string
- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public EntityExecutionDetails.Builder timeEnded(Date timeEnded)
The time the task ended for the resource.An RFC3339 formatted datetime string
- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
build
public EntityExecutionDetails build()
-
copy
public EntityExecutionDetails.Builder copy(EntityExecutionDetails model)
-
-