Interface DataIntegrationEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataIntegrationEvent.Builder,,DataIntegrationEvent> SdkBuilder<DataIntegrationEvent.Builder,,DataIntegrationEvent> SdkPojo
- Enclosing class:
DataIntegrationEvent
@Mutable
@NotThreadSafe
public static interface DataIntegrationEvent.Builder
extends SdkPojo, CopyableBuilder<DataIntegrationEvent.Builder,DataIntegrationEvent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataIntegrationEvent.BuilderdatasetTargetDetails(Consumer<DataIntegrationEventDatasetTargetDetails.Builder> datasetTargetDetails) The target dataset details for a DATASET event type.datasetTargetDetails(DataIntegrationEventDatasetTargetDetails datasetTargetDetails) The target dataset details for a DATASET event type.eventGroupId(String eventGroupId) Event identifier (for example, orderId for InboundOrder) used for data sharding or partitioning.The unique event identifier.eventTimestamp(Instant eventTimestamp) The event timestamp (in epoch seconds).The data event type.eventType(DataIntegrationEventType eventType) The data event type.instanceId(String instanceId) The AWS Supply Chain instance identifier.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceId
The AWS Supply Chain instance identifier.
- Parameters:
instanceId- The AWS Supply Chain instance identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
The unique event identifier.
- Parameters:
eventId- The unique event identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
The data event type.
- Parameters:
eventType- The data event type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The data event type.
- Parameters:
eventType- The data event type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventGroupId
Event identifier (for example, orderId for InboundOrder) used for data sharding or partitioning.
- Parameters:
eventGroupId- Event identifier (for example, orderId for InboundOrder) used for data sharding or partitioning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTimestamp
The event timestamp (in epoch seconds).
- Parameters:
eventTimestamp- The event timestamp (in epoch seconds).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetTargetDetails
DataIntegrationEvent.Builder datasetTargetDetails(DataIntegrationEventDatasetTargetDetails datasetTargetDetails) The target dataset details for a DATASET event type.
- Parameters:
datasetTargetDetails- The target dataset details for a DATASET event type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetTargetDetails
default DataIntegrationEvent.Builder datasetTargetDetails(Consumer<DataIntegrationEventDatasetTargetDetails.Builder> datasetTargetDetails) The target dataset details for a DATASET event type.
This is a convenience method that creates an instance of theDataIntegrationEventDatasetTargetDetails.Builderavoiding the need to create one manually viaDataIntegrationEventDatasetTargetDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasetTargetDetails(DataIntegrationEventDatasetTargetDetails).- Parameters:
datasetTargetDetails- a consumer that will call methods onDataIntegrationEventDatasetTargetDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-