Class SendDataIntegrationEventRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.supplychain.model.SupplyChainRequest
-
- software.amazon.awssdk.services.supplychain.model.SendDataIntegrationEventRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SendDataIntegrationEventRequest.Builder,SendDataIntegrationEventRequest>
@Generated("software.amazon.awssdk:codegen") public final class SendDataIntegrationEventRequest extends SupplyChainRequest implements ToCopyableBuilder<SendDataIntegrationEventRequest.Builder,SendDataIntegrationEventRequest>
The request parameters for SendDataIntegrationEvent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSendDataIntegrationEventRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SendDataIntegrationEventRequest.Builderbuilder()StringclientToken()The idempotent client token.Stringdata()The data payload of the event.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventGroupId()Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.InstanteventTimestamp()The event timestamp (in epoch seconds).DataIntegrationEventTypeeventType()The data event type.StringeventTypeAsString()The data event type.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The AWS Supply Chain instance identifier.List<SdkField<?>>sdkFields()static Class<? extends SendDataIntegrationEventRequest.Builder>serializableBuilderClass()SendDataIntegrationEventRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
instanceId
public final String instanceId()
The AWS Supply Chain instance identifier.
- Returns:
- The AWS Supply Chain instance identifier.
-
eventType
public final DataIntegrationEventType eventType()
The data event type.
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.
- See Also:
DataIntegrationEventType
-
eventTypeAsString
public final String eventTypeAsString()
The data event type.
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.
- See Also:
DataIntegrationEventType
-
data
public final String data()
The data payload of the event. For more information on the data schema to use, see Data entities supported in AWS Supply Chain .
- Returns:
- The data payload of the event. For more information on the data schema to use, see Data entities supported in AWS Supply Chain .
-
eventGroupId
public final String eventGroupId()
Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.
- Returns:
- Event identifier (for example, orderId for InboundOrder) used for data sharing or partitioning.
-
eventTimestamp
public final Instant eventTimestamp()
The event timestamp (in epoch seconds).
- Returns:
- The event timestamp (in epoch seconds).
-
clientToken
public final String clientToken()
The idempotent client token.
- Returns:
- The idempotent client token.
-
toBuilder
public SendDataIntegrationEventRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SendDataIntegrationEventRequest.Builder,SendDataIntegrationEventRequest>- Specified by:
toBuilderin classSupplyChainRequest
-
builder
public static SendDataIntegrationEventRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SendDataIntegrationEventRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-