Class Order1.Builder
- java.lang.Object
-
- com.chrt.api.types.Order1.Builder
-
- All Implemented Interfaces:
Order1._FinalStage,Order1.CreatedByOrgIdStage,Order1.DraftStartedAtTimestampStage,Order1.IdStage,Order1.SchemaVersionStage,Order1.ShortIdStage
- Enclosing class:
- Order1
public static final class Order1.Builder extends java.lang.Object implements Order1.SchemaVersionStage, Order1.IdStage, Order1.ShortIdStage, Order1.CreatedByOrgIdStage, Order1.DraftStartedAtTimestampStage, Order1._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Order1build()Order1._FinalStagecancelledAtTimestamp(Nullable<java.time.OffsetDateTime> cancelledAtTimestamp)Order1._FinalStagecancelledAtTimestamp(java.time.OffsetDateTime cancelledAtTimestamp)Order1._FinalStagecancelledAtTimestamp(java.util.Optional<java.time.OffsetDateTime> cancelledAtTimestamp)Order1._FinalStagecompletedAtTimestamp(Nullable<java.time.OffsetDateTime> completedAtTimestamp)Order1._FinalStagecompletedAtTimestamp(java.time.OffsetDateTime completedAtTimestamp)Order1._FinalStagecompletedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> completedAtTimestamp)Order1._FinalStagecoordinatorOrgId(Nullable<java.lang.String> coordinatorOrgId)Must be a string starting withorg_Order1._FinalStagecoordinatorOrgId(java.lang.String coordinatorOrgId)Must be a string starting withorg_Order1._FinalStagecoordinatorOrgId(java.util.Optional<java.lang.String> coordinatorOrgId)Must be a string starting withorg_Order1.DraftStartedAtTimestampStagecreatedByOrgId(java.lang.String createdByOrgId)Must be a string starting withorg_Order1._FinalStagecreatedByUserId(Nullable<java.lang.String> createdByUserId)Must be a string starting withuser_Order1._FinalStagecreatedByUserId(java.lang.String createdByUserId)Must be a string starting withuser_Order1._FinalStagecreatedByUserId(java.util.Optional<java.lang.String> createdByUserId)Must be a string starting withuser_Order1._FinalStagedraftStartedAtTimestamp(java.time.OffsetDateTime draftStartedAtTimestamp)Order1._FinalStageexceptionAtTimestamp(Nullable<java.time.OffsetDateTime> exceptionAtTimestamp)Order1._FinalStageexceptionAtTimestamp(java.time.OffsetDateTime exceptionAtTimestamp)Order1._FinalStageexceptionAtTimestamp(java.util.Optional<java.time.OffsetDateTime> exceptionAtTimestamp)Order1._FinalStageexecutorOrgIds(java.util.List<java.lang.String> executorOrgIds)Order1._FinalStageexecutorOrgIds(java.util.Optional<java.util.List<java.lang.String>> executorOrgIds)Order1.Builderfrom(Order1 other)Order1.ShortIdStageid(java.lang.String id)Order1._FinalStageinProgressAtTimestamp(Nullable<java.time.OffsetDateTime> inProgressAtTimestamp)Order1._FinalStageinProgressAtTimestamp(java.time.OffsetDateTime inProgressAtTimestamp)Order1._FinalStageinProgressAtTimestamp(java.util.Optional<java.time.OffsetDateTime> inProgressAtTimestamp)Order1._FinalStageoffChrtExecutorOrgIds(java.util.List<java.lang.String> offChrtExecutorOrgIds)Order1._FinalStageoffChrtExecutorOrgIds(java.util.Optional<java.util.List<java.lang.String>> offChrtExecutorOrgIds)Order1._FinalStageoffChrtReferenceId(Nullable<java.lang.String> offChrtReferenceId)Must be a URL-safe string of 1-64 characters.Order1._FinalStageoffChrtReferenceId(java.lang.String offChrtReferenceId)Must be a URL-safe string of 1-64 characters.Order1._FinalStageoffChrtReferenceId(java.util.Optional<java.lang.String> offChrtReferenceId)Must be a URL-safe string of 1-64 characters.Order1._FinalStageoffChrtShipperOrgId(Nullable<java.lang.String> offChrtShipperOrgId)Order1._FinalStageoffChrtShipperOrgId(java.lang.String offChrtShipperOrgId)Order1._FinalStageoffChrtShipperOrgId(java.util.Optional<java.lang.String> offChrtShipperOrgId)Order1._FinalStageorderScheduleId(Nullable<java.lang.String> orderScheduleId)Order1._FinalStageorderScheduleId(java.lang.String orderScheduleId)Order1._FinalStageorderScheduleId(java.util.Optional<java.lang.String> orderScheduleId)Order1._FinalStageorderScheduleRunIdempotencyKey(Nullable<java.lang.String> orderScheduleRunIdempotencyKey)Order1._FinalStageorderScheduleRunIdempotencyKey(java.lang.String orderScheduleRunIdempotencyKey)Order1._FinalStageorderScheduleRunIdempotencyKey(java.util.Optional<java.lang.String> orderScheduleRunIdempotencyKey)Order1._FinalStageorderTemplateId(Nullable<java.lang.String> orderTemplateId)Order1._FinalStageorderTemplateId(java.lang.String orderTemplateId)Order1._FinalStageorderTemplateId(java.util.Optional<java.lang.String> orderTemplateId)Order1.IdStageschemaVersion(int schemaVersion)Order1._FinalStageshipperOrgId(Nullable<java.lang.String> shipperOrgId)Must be a string starting withorg_Order1._FinalStageshipperOrgId(java.lang.String shipperOrgId)Must be a string starting withorg_Order1._FinalStageshipperOrgId(java.util.Optional<java.lang.String> shipperOrgId)Must be a string starting withorg_Order1.CreatedByOrgIdStageshortId(java.lang.String shortId)Order1._FinalStagestagedAtTimestamp(Nullable<java.time.OffsetDateTime> stagedAtTimestamp)Order1._FinalStagestagedAtTimestamp(java.time.OffsetDateTime stagedAtTimestamp)Order1._FinalStagestagedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> stagedAtTimestamp)Order1._FinalStagestatus(OrderStatusEnum1 status)Order1._FinalStagestatus(java.util.Optional<OrderStatusEnum1> status)Order1._FinalStagetaskGroupIds(java.util.List<java.lang.String> taskGroupIds)Order1._FinalStagetaskGroupIds(java.util.Optional<java.util.List<java.lang.String>> taskGroupIds)
-
-
-
Method Detail
-
from
public Order1.Builder from(Order1 other)
- Specified by:
fromin interfaceOrder1.SchemaVersionStage
-
schemaVersion
public Order1.IdStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceOrder1.SchemaVersionStage
-
id
public Order1.ShortIdStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceOrder1.IdStage
-
shortId
public Order1.CreatedByOrgIdStage shortId(@NotNull java.lang.String shortId)
- Specified by:
shortIdin interfaceOrder1.ShortIdStage
-
createdByOrgId
public Order1.DraftStartedAtTimestampStage createdByOrgId(@NotNull java.lang.String createdByOrgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
createdByOrgIdin interfaceOrder1.CreatedByOrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
draftStartedAtTimestamp
public Order1._FinalStage draftStartedAtTimestamp(@NotNull java.time.OffsetDateTime draftStartedAtTimestamp)
- Specified by:
draftStartedAtTimestampin interfaceOrder1.DraftStartedAtTimestampStage
-
exceptionAtTimestamp
public Order1._FinalStage exceptionAtTimestamp(Nullable<java.time.OffsetDateTime> exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceOrder1._FinalStage
-
exceptionAtTimestamp
public Order1._FinalStage exceptionAtTimestamp(java.time.OffsetDateTime exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceOrder1._FinalStage
-
exceptionAtTimestamp
public Order1._FinalStage exceptionAtTimestamp(java.util.Optional<java.time.OffsetDateTime> exceptionAtTimestamp)
- Specified by:
exceptionAtTimestampin interfaceOrder1._FinalStage
-
cancelledAtTimestamp
public Order1._FinalStage cancelledAtTimestamp(Nullable<java.time.OffsetDateTime> cancelledAtTimestamp)
- Specified by:
cancelledAtTimestampin interfaceOrder1._FinalStage
-
cancelledAtTimestamp
public Order1._FinalStage cancelledAtTimestamp(java.time.OffsetDateTime cancelledAtTimestamp)
- Specified by:
cancelledAtTimestampin interfaceOrder1._FinalStage
-
cancelledAtTimestamp
public Order1._FinalStage cancelledAtTimestamp(java.util.Optional<java.time.OffsetDateTime> cancelledAtTimestamp)
- Specified by:
cancelledAtTimestampin interfaceOrder1._FinalStage
-
completedAtTimestamp
public Order1._FinalStage completedAtTimestamp(Nullable<java.time.OffsetDateTime> completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceOrder1._FinalStage
-
completedAtTimestamp
public Order1._FinalStage completedAtTimestamp(java.time.OffsetDateTime completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceOrder1._FinalStage
-
completedAtTimestamp
public Order1._FinalStage completedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> completedAtTimestamp)
- Specified by:
completedAtTimestampin interfaceOrder1._FinalStage
-
inProgressAtTimestamp
public Order1._FinalStage inProgressAtTimestamp(Nullable<java.time.OffsetDateTime> inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceOrder1._FinalStage
-
inProgressAtTimestamp
public Order1._FinalStage inProgressAtTimestamp(java.time.OffsetDateTime inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceOrder1._FinalStage
-
inProgressAtTimestamp
public Order1._FinalStage inProgressAtTimestamp(java.util.Optional<java.time.OffsetDateTime> inProgressAtTimestamp)
- Specified by:
inProgressAtTimestampin interfaceOrder1._FinalStage
-
stagedAtTimestamp
public Order1._FinalStage stagedAtTimestamp(Nullable<java.time.OffsetDateTime> stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceOrder1._FinalStage
-
stagedAtTimestamp
public Order1._FinalStage stagedAtTimestamp(java.time.OffsetDateTime stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceOrder1._FinalStage
-
stagedAtTimestamp
public Order1._FinalStage stagedAtTimestamp(java.util.Optional<java.time.OffsetDateTime> stagedAtTimestamp)
- Specified by:
stagedAtTimestampin interfaceOrder1._FinalStage
-
status
public Order1._FinalStage status(OrderStatusEnum1 status)
- Specified by:
statusin interfaceOrder1._FinalStage
-
status
public Order1._FinalStage status(java.util.Optional<OrderStatusEnum1> status)
- Specified by:
statusin interfaceOrder1._FinalStage
-
offChrtExecutorOrgIds
public Order1._FinalStage offChrtExecutorOrgIds(java.util.List<java.lang.String> offChrtExecutorOrgIds)
- Specified by:
offChrtExecutorOrgIdsin interfaceOrder1._FinalStage
-
offChrtExecutorOrgIds
public Order1._FinalStage offChrtExecutorOrgIds(java.util.Optional<java.util.List<java.lang.String>> offChrtExecutorOrgIds)
- Specified by:
offChrtExecutorOrgIdsin interfaceOrder1._FinalStage
-
executorOrgIds
public Order1._FinalStage executorOrgIds(java.util.List<java.lang.String> executorOrgIds)
- Specified by:
executorOrgIdsin interfaceOrder1._FinalStage
-
executorOrgIds
public Order1._FinalStage executorOrgIds(java.util.Optional<java.util.List<java.lang.String>> executorOrgIds)
- Specified by:
executorOrgIdsin interfaceOrder1._FinalStage
-
coordinatorOrgId
public Order1._FinalStage coordinatorOrgId(Nullable<java.lang.String> coordinatorOrgId)
Must be a string starting with
org_- Specified by:
coordinatorOrgIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
coordinatorOrgId
public Order1._FinalStage coordinatorOrgId(java.lang.String coordinatorOrgId)
Must be a string starting with
org_- Specified by:
coordinatorOrgIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
coordinatorOrgId
public Order1._FinalStage coordinatorOrgId(java.util.Optional<java.lang.String> coordinatorOrgId)
Must be a string starting with
org_- Specified by:
coordinatorOrgIdin interfaceOrder1._FinalStage
-
offChrtShipperOrgId
public Order1._FinalStage offChrtShipperOrgId(Nullable<java.lang.String> offChrtShipperOrgId)
- Specified by:
offChrtShipperOrgIdin interfaceOrder1._FinalStage
-
offChrtShipperOrgId
public Order1._FinalStage offChrtShipperOrgId(java.lang.String offChrtShipperOrgId)
- Specified by:
offChrtShipperOrgIdin interfaceOrder1._FinalStage
-
offChrtShipperOrgId
public Order1._FinalStage offChrtShipperOrgId(java.util.Optional<java.lang.String> offChrtShipperOrgId)
- Specified by:
offChrtShipperOrgIdin interfaceOrder1._FinalStage
-
shipperOrgId
public Order1._FinalStage shipperOrgId(Nullable<java.lang.String> shipperOrgId)
Must be a string starting with
org_- Specified by:
shipperOrgIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
shipperOrgId
public Order1._FinalStage shipperOrgId(java.lang.String shipperOrgId)
Must be a string starting with
org_- Specified by:
shipperOrgIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
shipperOrgId
public Order1._FinalStage shipperOrgId(java.util.Optional<java.lang.String> shipperOrgId)
Must be a string starting with
org_- Specified by:
shipperOrgIdin interfaceOrder1._FinalStage
-
createdByUserId
public Order1._FinalStage createdByUserId(Nullable<java.lang.String> createdByUserId)
Must be a string starting with
user_- Specified by:
createdByUserIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdByUserId
public Order1._FinalStage createdByUserId(java.lang.String createdByUserId)
Must be a string starting with
user_- Specified by:
createdByUserIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdByUserId
public Order1._FinalStage createdByUserId(java.util.Optional<java.lang.String> createdByUserId)
Must be a string starting with
user_- Specified by:
createdByUserIdin interfaceOrder1._FinalStage
-
orderTemplateId
public Order1._FinalStage orderTemplateId(Nullable<java.lang.String> orderTemplateId)
- Specified by:
orderTemplateIdin interfaceOrder1._FinalStage
-
orderTemplateId
public Order1._FinalStage orderTemplateId(java.lang.String orderTemplateId)
- Specified by:
orderTemplateIdin interfaceOrder1._FinalStage
-
orderTemplateId
public Order1._FinalStage orderTemplateId(java.util.Optional<java.lang.String> orderTemplateId)
- Specified by:
orderTemplateIdin interfaceOrder1._FinalStage
-
orderScheduleRunIdempotencyKey
public Order1._FinalStage orderScheduleRunIdempotencyKey(Nullable<java.lang.String> orderScheduleRunIdempotencyKey)
- Specified by:
orderScheduleRunIdempotencyKeyin interfaceOrder1._FinalStage
-
orderScheduleRunIdempotencyKey
public Order1._FinalStage orderScheduleRunIdempotencyKey(java.lang.String orderScheduleRunIdempotencyKey)
- Specified by:
orderScheduleRunIdempotencyKeyin interfaceOrder1._FinalStage
-
orderScheduleRunIdempotencyKey
public Order1._FinalStage orderScheduleRunIdempotencyKey(java.util.Optional<java.lang.String> orderScheduleRunIdempotencyKey)
- Specified by:
orderScheduleRunIdempotencyKeyin interfaceOrder1._FinalStage
-
orderScheduleId
public Order1._FinalStage orderScheduleId(Nullable<java.lang.String> orderScheduleId)
- Specified by:
orderScheduleIdin interfaceOrder1._FinalStage
-
orderScheduleId
public Order1._FinalStage orderScheduleId(java.lang.String orderScheduleId)
- Specified by:
orderScheduleIdin interfaceOrder1._FinalStage
-
orderScheduleId
public Order1._FinalStage orderScheduleId(java.util.Optional<java.lang.String> orderScheduleId)
- Specified by:
orderScheduleIdin interfaceOrder1._FinalStage
-
offChrtReferenceId
public Order1._FinalStage offChrtReferenceId(Nullable<java.lang.String> offChrtReferenceId)
Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved).
- Specified by:
offChrtReferenceIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
offChrtReferenceId
public Order1._FinalStage offChrtReferenceId(java.lang.String offChrtReferenceId)
Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved).
- Specified by:
offChrtReferenceIdin interfaceOrder1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
offChrtReferenceId
public Order1._FinalStage offChrtReferenceId(java.util.Optional<java.lang.String> offChrtReferenceId)
Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved).
- Specified by:
offChrtReferenceIdin interfaceOrder1._FinalStage
-
taskGroupIds
public Order1._FinalStage taskGroupIds(java.util.List<java.lang.String> taskGroupIds)
- Specified by:
taskGroupIdsin interfaceOrder1._FinalStage
-
taskGroupIds
public Order1._FinalStage taskGroupIds(java.util.Optional<java.util.List<java.lang.String>> taskGroupIds)
- Specified by:
taskGroupIdsin interfaceOrder1._FinalStage
-
build
public Order1 build()
- Specified by:
buildin interfaceOrder1._FinalStage
-
-