Package com.atlan.model.tasks
Class AtlanTask.AtlanTaskBuilder<C extends AtlanTask,B extends AtlanTask.AtlanTaskBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.tasks.AtlanTask.AtlanTaskBuilder<C,B>
- Enclosing class:
- AtlanTask
public abstract static class AtlanTask.AtlanTaskBuilder<C extends AtlanTask,B extends AtlanTask.AtlanTaskBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) attemptCount
(Long attemptCount) Number of times the task has been attempted.abstract C
build()
classificationId
(String classificationId) TBCUser who created the task.createdTime
(Long createdTime) Time (epoch) at which the task was created, in milliseconds.Time (epoch) at which the task was ended, in milliseconds.entityGuid
(String entityGuid) Unique identifier of the asset the task originated from.Unique identifier of the task.parameters
(Map<String, Object> parameters) Parameters used for running the task.protected abstract B
self()
Time (epoch) at which the task was started, in milliseconds.status
(AtlanTaskStatus status) Status of the task.timeTakenInSeconds
(Long timeTakenInSeconds) Total time taken to complete the task, in seconds.toString()
type
(AtlanTaskType type) Type of the task.updatedTime
(Long updatedTime) Time (epoch) at which the task was last updated, in milliseconds.Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
AtlanTaskBuilder
public AtlanTaskBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends AtlanTask,
B extends AtlanTask.AtlanTaskBuilder<C, B>>
-
type
Type of the task.- Returns:
this
.
-
guid
Unique identifier of the task.- Returns:
this
.
-
createdBy
User who created the task.- Returns:
this
.
-
createdTime
Time (epoch) at which the task was created, in milliseconds.- Returns:
this
.
-
updatedTime
Time (epoch) at which the task was last updated, in milliseconds.- Returns:
this
.
-
startTime
Time (epoch) at which the task was started, in milliseconds.- Returns:
this
.
-
endTime
Time (epoch) at which the task was ended, in milliseconds.- Returns:
this
.
-
timeTakenInSeconds
Total time taken to complete the task, in seconds.- Returns:
this
.
-
parameters
Parameters used for running the task.- Returns:
this
.
-
attemptCount
Number of times the task has been attempted.- Returns:
this
.
-
status
Status of the task.- Returns:
this
.
-
classificationId
TBC- Returns:
this
.
-
entityGuid
Unique identifier of the asset the task originated from.- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends AtlanTask,
B extends AtlanTask.AtlanTaskBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends AtlanTask,
B extends AtlanTask.AtlanTaskBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends AtlanTask,
B extends AtlanTask.AtlanTaskBuilder<C, B>>
-