Package com.chrt.api.types
Class TaskGroup1.Builder
- java.lang.Object
-
- com.chrt.api.types.TaskGroup1.Builder
-
- All Implemented Interfaces:
TaskGroup1._FinalStage,TaskGroup1.CreatedByOrgIdStage,TaskGroup1.CreatedByUserIdStage,TaskGroup1.DraftStartedAtTimestampStage,TaskGroup1.IdStage,TaskGroup1.OrderIdStage,TaskGroup1.OrderShortIdStage,TaskGroup1.SchemaVersionStage,TaskGroup1.TaskGroupTypeStage
- Enclosing class:
- TaskGroup1
public static final class TaskGroup1.Builder extends java.lang.Object implements TaskGroup1.SchemaVersionStage, TaskGroup1.IdStage, TaskGroup1.OrderIdStage, TaskGroup1.OrderShortIdStage, TaskGroup1.CreatedByOrgIdStage, TaskGroup1.CreatedByUserIdStage, TaskGroup1.DraftStartedAtTimestampStage, TaskGroup1.TaskGroupTypeStage, TaskGroup1._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskGroup1build()TaskGroup1._FinalStagecompletedAtTimestamp(Nullable<java.time.OffsetDateTime> completedAtTimestamp)TaskGroup1._FinalStagecompletedAtTimestamp(java.time.OffsetDateTime completedAtTimestamp)TaskGroup1._FinalStagecompletedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> completedAtTimestamp)TaskGroup1._FinalStagecourierOrgId(Nullable<java.lang.String> courierOrgId)Must be a string starting withorg_TaskGroup1._FinalStagecourierOrgId(java.lang.String courierOrgId)Must be a string starting withorg_TaskGroup1._FinalStagecourierOrgId(java.util.Optional<java.lang.String> courierOrgId)Must be a string starting withorg_TaskGroup1.CreatedByUserIdStagecreatedByOrgId(java.lang.String createdByOrgId)Must be a string starting withorg_TaskGroup1.DraftStartedAtTimestampStagecreatedByUserId(java.lang.String createdByUserId)Must be a string starting withuser_TaskGroup1.TaskGroupTypeStagedraftStartedAtTimestamp(java.time.OffsetDateTime draftStartedAtTimestamp)TaskGroup1._FinalStagedriverId(Nullable<java.lang.String> driverId)TaskGroup1._FinalStagedriverId(java.lang.String driverId)TaskGroup1._FinalStagedriverId(java.util.Optional<java.lang.String> driverId)TaskGroup1._FinalStageexceptionAtTimestamp(Nullable<java.time.OffsetDateTime> exceptionAtTimestamp)TaskGroup1._FinalStageexceptionAtTimestamp(java.time.OffsetDateTime exceptionAtTimestamp)TaskGroup1._FinalStageexceptionAtTimestamp(java.util.Optional<java.time.OffsetDateTime> exceptionAtTimestamp)TaskGroup1._FinalStageflightNumber(Nullable<java.lang.String> flightNumber)TaskGroup1._FinalStageflightNumber(java.lang.String flightNumber)TaskGroup1._FinalStageflightNumber(java.util.Optional<java.lang.String> flightNumber)TaskGroup1.Builderfrom(TaskGroup1 other)TaskGroup1.OrderIdStageid(java.lang.String id)TaskGroup1._FinalStageinProgressAtTimestamp(Nullable<java.time.OffsetDateTime> inProgressAtTimestamp)TaskGroup1._FinalStageinProgressAtTimestamp(java.time.OffsetDateTime inProgressAtTimestamp)TaskGroup1._FinalStageinProgressAtTimestamp(java.util.Optional<java.time.OffsetDateTime> inProgressAtTimestamp)TaskGroup1._FinalStagemessages(java.util.List<TaskGroupMessage1> messages)TaskGroup1._FinalStagemessages(java.util.Optional<java.util.List<TaskGroupMessage1>> messages)TaskGroup1._FinalStageorderCancelled(java.lang.Boolean orderCancelled)TaskGroup1._FinalStageorderCancelled(java.util.Optional<java.lang.Boolean> orderCancelled)TaskGroup1.OrderShortIdStageorderId(java.lang.String orderId)TaskGroup1.CreatedByOrgIdStageorderShortId(java.lang.String orderShortId)TaskGroup1.IdStageschemaVersion(int schemaVersion)TaskGroup1._FinalStageskippedAtTimestamp(Nullable<java.time.OffsetDateTime> skippedAtTimestamp)TaskGroup1._FinalStageskippedAtTimestamp(java.time.OffsetDateTime skippedAtTimestamp)TaskGroup1._FinalStageskippedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> skippedAtTimestamp)TaskGroup1._FinalStagestagedAtTimestamp(Nullable<java.time.OffsetDateTime> stagedAtTimestamp)TaskGroup1._FinalStagestagedAtTimestamp(java.time.OffsetDateTime stagedAtTimestamp)TaskGroup1._FinalStagestagedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> stagedAtTimestamp)TaskGroup1._FinalStagestatus(TaskGroupStatusEnum1 status)TaskGroup1._FinalStagestatus(java.util.Optional<TaskGroupStatusEnum1> status)TaskGroup1._FinalStagetaskGroupMileage(Nullable<TaskGroupMileage1> taskGroupMileage)TaskGroup1._FinalStagetaskGroupMileage(TaskGroupMileage1 taskGroupMileage)TaskGroup1._FinalStagetaskGroupMileage(java.util.Optional<TaskGroupMileage1> taskGroupMileage)TaskGroup1._FinalStagetaskGroupS3ObjectMetadataIds(java.util.List<java.lang.String> taskGroupS3ObjectMetadataIds)TaskGroup1._FinalStagetaskGroupS3ObjectMetadataIds(java.util.Optional<java.util.List<java.lang.String>> taskGroupS3ObjectMetadataIds)TaskGroup1._FinalStagetaskGroupType(TaskGroupTypeEnum1 taskGroupType)TaskGroup1._FinalStagetaskIds(java.util.List<java.lang.String> taskIds)TaskGroup1._FinalStagetaskIds(java.util.Optional<java.util.List<java.lang.String>> taskIds)
-
-
-
Method Detail
-
from
public TaskGroup1.Builder from(TaskGroup1 other)
- Specified by:
fromin interfaceTaskGroup1.SchemaVersionStage
-
schemaVersion
public TaskGroup1.IdStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceTaskGroup1.SchemaVersionStage
-
id
public TaskGroup1.OrderIdStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceTaskGroup1.IdStage
-
orderId
public TaskGroup1.OrderShortIdStage orderId(@NotNull java.lang.String orderId)
- Specified by:
orderIdin interfaceTaskGroup1.OrderIdStage
-
orderShortId
public TaskGroup1.CreatedByOrgIdStage orderShortId(@NotNull java.lang.String orderShortId)
- Specified by:
orderShortIdin interfaceTaskGroup1.OrderShortIdStage
-
createdByOrgId
public TaskGroup1.CreatedByUserIdStage createdByOrgId(@NotNull java.lang.String createdByOrgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
createdByOrgIdin interfaceTaskGroup1.CreatedByOrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdByUserId
public TaskGroup1.DraftStartedAtTimestampStage createdByUserId(@NotNull java.lang.String createdByUserId)
Must be a string starting with
user_Must be a string starting with
user_- Specified by:
createdByUserIdin interfaceTaskGroup1.CreatedByUserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
draftStartedAtTimestamp
public TaskGroup1.TaskGroupTypeStage draftStartedAtTimestamp(@NotNull java.time.OffsetDateTime draftStartedAtTimestamp)
- Specified by:
draftStartedAtTimestampin interfaceTaskGroup1.DraftStartedAtTimestampStage
-
taskGroupType
public TaskGroup1._FinalStage taskGroupType(@NotNull TaskGroupTypeEnum1 taskGroupType)
- Specified by:
taskGroupTypein interfaceTaskGroup1.TaskGroupTypeStage
-
messages
public TaskGroup1._FinalStage messages(java.util.List<TaskGroupMessage1> messages)
- Specified by:
messagesin interfaceTaskGroup1._FinalStage
-
messages
public TaskGroup1._FinalStage messages(java.util.Optional<java.util.List<TaskGroupMessage1>> messages)
- Specified by:
messagesin interfaceTaskGroup1._FinalStage
-
flightNumber
public TaskGroup1._FinalStage flightNumber(Nullable<java.lang.String> flightNumber)
- Specified by:
flightNumberin interfaceTaskGroup1._FinalStage
-
flightNumber
public TaskGroup1._FinalStage flightNumber(java.lang.String flightNumber)
- Specified by:
flightNumberin interfaceTaskGroup1._FinalStage
-
flightNumber
public TaskGroup1._FinalStage flightNumber(java.util.Optional<java.lang.String> flightNumber)
- Specified by:
flightNumberin interfaceTaskGroup1._FinalStage
-
taskGroupMileage
public TaskGroup1._FinalStage taskGroupMileage(Nullable<TaskGroupMileage1> taskGroupMileage)
- Specified by:
taskGroupMileagein interfaceTaskGroup1._FinalStage
-
taskGroupMileage
public TaskGroup1._FinalStage taskGroupMileage(TaskGroupMileage1 taskGroupMileage)
- Specified by:
taskGroupMileagein interfaceTaskGroup1._FinalStage
-
taskGroupMileage
public TaskGroup1._FinalStage taskGroupMileage(java.util.Optional<TaskGroupMileage1> taskGroupMileage)
- Specified by:
taskGroupMileagein interfaceTaskGroup1._FinalStage
-
orderCancelled
public TaskGroup1._FinalStage orderCancelled(java.lang.Boolean orderCancelled)
- Specified by:
orderCancelledin interfaceTaskGroup1._FinalStage
-
orderCancelled
public TaskGroup1._FinalStage orderCancelled(java.util.Optional<java.lang.Boolean> orderCancelled)
- Specified by:
orderCancelledin interfaceTaskGroup1._FinalStage
-
exceptionAtTimestamp
public TaskGroup1._FinalStage exceptionAtTimestamp(Nullable<java.time.OffsetDateTime> exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceTaskGroup1._FinalStage
-
exceptionAtTimestamp
public TaskGroup1._FinalStage exceptionAtTimestamp(java.time.OffsetDateTime exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceTaskGroup1._FinalStage
-
exceptionAtTimestamp
public TaskGroup1._FinalStage exceptionAtTimestamp(java.util.Optional<java.time.OffsetDateTime> exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceTaskGroup1._FinalStage
-
skippedAtTimestamp
public TaskGroup1._FinalStage skippedAtTimestamp(Nullable<java.time.OffsetDateTime> skippedAtTimestamp)
- Specified by:
skippedAtTimestampin interfaceTaskGroup1._FinalStage
-
skippedAtTimestamp
public TaskGroup1._FinalStage skippedAtTimestamp(java.time.OffsetDateTime skippedAtTimestamp)
- Specified by:
skippedAtTimestampin interfaceTaskGroup1._FinalStage
-
skippedAtTimestamp
public TaskGroup1._FinalStage skippedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> skippedAtTimestamp)
- Specified by:
skippedAtTimestampin interfaceTaskGroup1._FinalStage
-
completedAtTimestamp
public TaskGroup1._FinalStage completedAtTimestamp(Nullable<java.time.OffsetDateTime> completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceTaskGroup1._FinalStage
-
completedAtTimestamp
public TaskGroup1._FinalStage completedAtTimestamp(java.time.OffsetDateTime completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceTaskGroup1._FinalStage
-
completedAtTimestamp
public TaskGroup1._FinalStage completedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceTaskGroup1._FinalStage
-
inProgressAtTimestamp
public TaskGroup1._FinalStage inProgressAtTimestamp(Nullable<java.time.OffsetDateTime> inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceTaskGroup1._FinalStage
-
inProgressAtTimestamp
public TaskGroup1._FinalStage inProgressAtTimestamp(java.time.OffsetDateTime inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceTaskGroup1._FinalStage
-
inProgressAtTimestamp
public TaskGroup1._FinalStage inProgressAtTimestamp(java.util.Optional<java.time.OffsetDateTime> inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceTaskGroup1._FinalStage
-
stagedAtTimestamp
public TaskGroup1._FinalStage stagedAtTimestamp(Nullable<java.time.OffsetDateTime> stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceTaskGroup1._FinalStage
-
stagedAtTimestamp
public TaskGroup1._FinalStage stagedAtTimestamp(java.time.OffsetDateTime stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceTaskGroup1._FinalStage
-
stagedAtTimestamp
public TaskGroup1._FinalStage stagedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceTaskGroup1._FinalStage
-
status
public TaskGroup1._FinalStage status(TaskGroupStatusEnum1 status)
- Specified by:
statusin interfaceTaskGroup1._FinalStage
-
status
public TaskGroup1._FinalStage status(java.util.Optional<TaskGroupStatusEnum1> status)
- Specified by:
statusin interfaceTaskGroup1._FinalStage
-
taskGroupS3ObjectMetadataIds
public TaskGroup1._FinalStage taskGroupS3ObjectMetadataIds(java.util.List<java.lang.String> taskGroupS3ObjectMetadataIds)
- Specified by:
taskGroupS3ObjectMetadataIdsin interfaceTaskGroup1._FinalStage
-
taskGroupS3ObjectMetadataIds
public TaskGroup1._FinalStage taskGroupS3ObjectMetadataIds(java.util.Optional<java.util.List<java.lang.String>> taskGroupS3ObjectMetadataIds)
- Specified by:
taskGroupS3ObjectMetadataIdsin interfaceTaskGroup1._FinalStage
-
driverId
public TaskGroup1._FinalStage driverId(Nullable<java.lang.String> driverId)
- Specified by:
driverIdin interfaceTaskGroup1._FinalStage
-
driverId
public TaskGroup1._FinalStage driverId(java.lang.String driverId)
- Specified by:
driverIdin interfaceTaskGroup1._FinalStage
-
driverId
public TaskGroup1._FinalStage driverId(java.util.Optional<java.lang.String> driverId)
- Specified by:
driverIdin interfaceTaskGroup1._FinalStage
-
courierOrgId
public TaskGroup1._FinalStage courierOrgId(Nullable<java.lang.String> courierOrgId)
Must be a string starting with
org_- Specified by:
courierOrgIdin interfaceTaskGroup1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
courierOrgId
public TaskGroup1._FinalStage courierOrgId(java.lang.String courierOrgId)
Must be a string starting with
org_- Specified by:
courierOrgIdin interfaceTaskGroup1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
courierOrgId
public TaskGroup1._FinalStage courierOrgId(java.util.Optional<java.lang.String> courierOrgId)
Must be a string starting with
org_- Specified by:
courierOrgIdin interfaceTaskGroup1._FinalStage
-
taskIds
public TaskGroup1._FinalStage taskIds(java.util.List<java.lang.String> taskIds)
- Specified by:
taskIdsin interfaceTaskGroup1._FinalStage
-
taskIds
public TaskGroup1._FinalStage taskIds(java.util.Optional<java.util.List<java.lang.String>> taskIds)
- Specified by:
taskIdsin interfaceTaskGroup1._FinalStage
-
build
public TaskGroup1 build()
- Specified by:
buildin interfaceTaskGroup1._FinalStage
-
-