Package com.chrt.api.types
Class ShippingTaskGroupS3ObjectAddedWebhookPayload.Builder
- java.lang.Object
-
- com.chrt.api.types.ShippingTaskGroupS3ObjectAddedWebhookPayload.Builder
-
- All Implemented Interfaces:
ShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStage,ShippingTaskGroupS3ObjectAddedWebhookPayload.EventTimestampStage,ShippingTaskGroupS3ObjectAddedWebhookPayload.OrderIdStage,ShippingTaskGroupS3ObjectAddedWebhookPayload.TaskGroupIdStage
- Enclosing class:
- ShippingTaskGroupS3ObjectAddedWebhookPayload
public static final class ShippingTaskGroupS3ObjectAddedWebhookPayload.Builder extends java.lang.Object implements ShippingTaskGroupS3ObjectAddedWebhookPayload.EventTimestampStage, ShippingTaskGroupS3ObjectAddedWebhookPayload.OrderIdStage, ShippingTaskGroupS3ObjectAddedWebhookPayload.TaskGroupIdStage, ShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShippingTaskGroupS3ObjectAddedWebhookPayloadbuild()ShippingTaskGroupS3ObjectAddedWebhookPayload.OrderIdStageeventTimestamp(java.time.OffsetDateTime eventTimestamp)UTC timestamp when the event occurredShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStageeventType(java.lang.String eventType)ShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStageeventType(java.util.Optional<java.lang.String> eventType)ShippingTaskGroupS3ObjectAddedWebhookPayload.Builderfrom(ShippingTaskGroupS3ObjectAddedWebhookPayload other)ShippingTaskGroupS3ObjectAddedWebhookPayload.TaskGroupIdStageorderId(java.lang.String orderId)The order containing the task groupShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStagetaskGroupId(java.lang.String taskGroupId)The task group the file was added to
-
-
-
Method Detail
-
from
public ShippingTaskGroupS3ObjectAddedWebhookPayload.Builder from(ShippingTaskGroupS3ObjectAddedWebhookPayload other)
- Specified by:
fromin interfaceShippingTaskGroupS3ObjectAddedWebhookPayload.EventTimestampStage
-
eventTimestamp
public ShippingTaskGroupS3ObjectAddedWebhookPayload.OrderIdStage eventTimestamp(@NotNull java.time.OffsetDateTime eventTimestamp)
UTC timestamp when the event occurred
UTC timestamp when the event occurred
- Specified by:
eventTimestampin interfaceShippingTaskGroupS3ObjectAddedWebhookPayload.EventTimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orderId
public ShippingTaskGroupS3ObjectAddedWebhookPayload.TaskGroupIdStage orderId(@NotNull java.lang.String orderId)
The order containing the task group
The order containing the task group
- Specified by:
orderIdin interfaceShippingTaskGroupS3ObjectAddedWebhookPayload.OrderIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskGroupId
public ShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStage taskGroupId(@NotNull java.lang.String taskGroupId)
The task group the file was added to
The task group the file was added to
- Specified by:
taskGroupIdin interfaceShippingTaskGroupS3ObjectAddedWebhookPayload.TaskGroupIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
eventType
public ShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStage eventType(java.lang.String eventType)
- Specified by:
eventTypein interfaceShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStage
-
eventType
public ShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStage eventType(java.util.Optional<java.lang.String> eventType)
- Specified by:
eventTypein interfaceShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStage
-
build
public ShippingTaskGroupS3ObjectAddedWebhookPayload build()
- Specified by:
buildin interfaceShippingTaskGroupS3ObjectAddedWebhookPayload._FinalStage
-
-