Interface EventPayload.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventPayload.Builder,
,EventPayload> SdkBuilder<EventPayload.Builder,
,EventPayload> SdkPojo
- Enclosing class:
EventPayload
@Mutable
@NotThreadSafe
public static interface EventPayload.Builder
extends SdkPojo, CopyableBuilder<EventPayload.Builder,EventPayload>
-
Method Summary
Modifier and TypeMethodDescriptioncontentType
(String contentType) The type of content in the event payload.The data included in the event payload.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
contentType
The type of content in the event payload.
- Parameters:
contentType
- The type of content in the event payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The data included in the event payload.
- Parameters:
data
- The data included in the event payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-