Class SendDataIntegrationEventRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SendDataIntegrationEventRequest.Builder,SendDataIntegrationEventRequest>
The request parameters for SendDataIntegrationEvent.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe idempotent client token.final Stringdata()The data payload of the event, should follow the data schema of the target dataset, or see Data entities supported in AWS Supply Chain.The target dataset configuration for scn.data.dataset event type.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringEvent identifier (for example, orderId for InboundOrder) used for data sharding or partitioning.final InstantThe timestamp (in epoch seconds) associated with the event.final DataIntegrationEventTypeThe data event type.final StringThe data event type.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final StringThe AWS Supply Chain instance identifier.static Class<? extends SendDataIntegrationEventRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
instanceId
The AWS Supply Chain instance identifier.
- Returns:
- The AWS Supply Chain instance identifier.
-
eventType
The data event type.
-
scn.data.dataset - Send data directly to any specified dataset.
-
scn.data.supplyplan - Send data to supply_plan dataset.
-
scn.data.shipmentstoporder - Send data to shipment_stop_order dataset.
-
scn.data.shipmentstop - Send data to shipment_stop dataset.
-
scn.data.shipment - Send data to shipment dataset.
-
scn.data.reservation - Send data to reservation dataset.
-
scn.data.processproduct - Send data to process_product dataset.
-
scn.data.processoperation - Send data to process_operation dataset.
-
scn.data.processheader - Send data to process_header dataset.
-
scn.data.forecast - Send data to forecast dataset.
-
scn.data.inventorylevel - Send data to inv_level dataset.
-
scn.data.inboundorder - Send data to inbound_order dataset.
-
scn.data.inboundorderline - Send data to inbound_order_line dataset.
-
scn.data.inboundorderlineschedule - Send data to inbound_order_line_schedule dataset.
-
scn.data.outboundorderline - Send data to outbound_order_line dataset.
-
scn.data.outboundshipment - Send data to outbound_shipment dataset.
If the service returns an enum value that is not available in the current SDK version,
eventTypewill returnDataIntegrationEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- The data event type.
-
scn.data.dataset - Send data directly to any specified dataset.
-
scn.data.supplyplan - Send data to supply_plan dataset.
-
scn.data.shipmentstoporder - Send data to shipment_stop_order dataset.
-
scn.data.shipmentstop - Send data to shipment_stop dataset.
-
scn.data.shipment - Send data to shipment dataset.
-
scn.data.reservation - Send data to reservation dataset.
-
scn.data.processproduct - Send data to process_product dataset.
-
scn.data.processoperation - Send data to process_operation dataset.
-
scn.data.processheader - Send data to process_header dataset.
-
scn.data.forecast - Send data to forecast dataset.
-
scn.data.inventorylevel - Send data to inv_level dataset.
-
scn.data.inboundorder - Send data to inbound_order dataset.
-
scn.data.inboundorderline - Send data to inbound_order_line dataset.
-
scn.data.inboundorderlineschedule - Send data to inbound_order_line_schedule dataset.
-
scn.data.outboundorderline - Send data to outbound_order_line dataset.
-
scn.data.outboundshipment - Send data to outbound_shipment dataset.
-
- See Also:
-
-
eventTypeAsString
The data event type.
-
scn.data.dataset - Send data directly to any specified dataset.
-
scn.data.supplyplan - Send data to supply_plan dataset.
-
scn.data.shipmentstoporder - Send data to shipment_stop_order dataset.
-
scn.data.shipmentstop - Send data to shipment_stop dataset.
-
scn.data.shipment - Send data to shipment dataset.
-
scn.data.reservation - Send data to reservation dataset.
-
scn.data.processproduct - Send data to process_product dataset.
-
scn.data.processoperation - Send data to process_operation dataset.
-
scn.data.processheader - Send data to process_header dataset.
-
scn.data.forecast - Send data to forecast dataset.
-
scn.data.inventorylevel - Send data to inv_level dataset.
-
scn.data.inboundorder - Send data to inbound_order dataset.
-
scn.data.inboundorderline - Send data to inbound_order_line dataset.
-
scn.data.inboundorderlineschedule - Send data to inbound_order_line_schedule dataset.
-
scn.data.outboundorderline - Send data to outbound_order_line dataset.
-
scn.data.outboundshipment - Send data to outbound_shipment dataset.
If the service returns an enum value that is not available in the current SDK version,
eventTypewill returnDataIntegrationEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- The data event type.
-
scn.data.dataset - Send data directly to any specified dataset.
-
scn.data.supplyplan - Send data to supply_plan dataset.
-
scn.data.shipmentstoporder - Send data to shipment_stop_order dataset.
-
scn.data.shipmentstop - Send data to shipment_stop dataset.
-
scn.data.shipment - Send data to shipment dataset.
-
scn.data.reservation - Send data to reservation dataset.
-
scn.data.processproduct - Send data to process_product dataset.
-
scn.data.processoperation - Send data to process_operation dataset.
-
scn.data.processheader - Send data to process_header dataset.
-
scn.data.forecast - Send data to forecast dataset.
-
scn.data.inventorylevel - Send data to inv_level dataset.
-
scn.data.inboundorder - Send data to inbound_order dataset.
-
scn.data.inboundorderline - Send data to inbound_order_line dataset.
-
scn.data.inboundorderlineschedule - Send data to inbound_order_line_schedule dataset.
-
scn.data.outboundorderline - Send data to outbound_order_line dataset.
-
scn.data.outboundshipment - Send data to outbound_shipment dataset.
-
- See Also:
-
-
data
The data payload of the event, should follow the data schema of the target dataset, or see Data entities supported in AWS Supply Chain. To send single data record, use JsonObject format; to send multiple data records, use JsonArray format.
Note that for AWS Supply Chain dataset under asc namespace, it has a connection_id internal field that is not allowed to be provided by client directly, they will be auto populated.
- Returns:
- The data payload of the event, should follow the data schema of the target dataset, or see Data entities
supported in AWS Supply Chain. To send single data record, use JsonObject format; to send multiple
data records, use JsonArray format.
Note that for AWS Supply Chain dataset under asc namespace, it has a connection_id internal field that is not allowed to be provided by client directly, they will be auto populated.
-
eventGroupId
Event identifier (for example, orderId for InboundOrder) used for data sharding or partitioning. Noted under one eventGroupId of same eventType and instanceId, events are processed sequentially in the order they are received by the server.
- Returns:
- Event identifier (for example, orderId for InboundOrder) used for data sharding or partitioning. Noted under one eventGroupId of same eventType and instanceId, events are processed sequentially in the order they are received by the server.
-
eventTimestamp
The timestamp (in epoch seconds) associated with the event. If not provided, it will be assigned with current timestamp.
- Returns:
- The timestamp (in epoch seconds) associated with the event. If not provided, it will be assigned with current timestamp.
-
clientToken
The idempotent client token. The token is active for 8 hours, and within its lifetime, it ensures the request completes only once upon retry with same client token. If omitted, the AWS SDK generates a unique value so that AWS SDK can safely retry the request upon network errors.
- Returns:
- The idempotent client token. The token is active for 8 hours, and within its lifetime, it ensures the request completes only once upon retry with same client token. If omitted, the AWS SDK generates a unique value so that AWS SDK can safely retry the request upon network errors.
-
datasetTarget
The target dataset configuration for scn.data.dataset event type.
- Returns:
- The target dataset configuration for scn.data.dataset event type.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SendDataIntegrationEventRequest.Builder,SendDataIntegrationEventRequest> - Specified by:
toBuilderin classSupplyChainRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-