Interface PutRawEventsRequestEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PutRawEventsRequestEntry.Builder,,PutRawEventsRequestEntry> SdkBuilder<PutRawEventsRequestEntry.Builder,,PutRawEventsRequestEntry> SdkPojo
- Enclosing class:
PutRawEventsRequestEntry
@Mutable
@NotThreadSafe
public static interface PutRawEventsRequestEntry.Builder
extends SdkPojo, CopyableBuilder<PutRawEventsRequestEntry.Builder,PutRawEventsRequestEntry>
-
Method Summary
Modifier and TypeMethodDescriptionThe event data as a base64-encoded blob.Metadata key-value pairs you define.default PutRawEventsRequestEntry.BuildersystemMetadata(Consumer<PutRawEventsSystemMetadata.Builder> systemMetadata) Structured system metadata with defined properties.systemMetadata(PutRawEventsSystemMetadata systemMetadata) Structured system metadata with defined properties.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
-
data
The event data as a base64-encoded blob. Supports binary formats.
- Parameters:
data- The event data as a base64-encoded blob. Supports binary formats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata key-value pairs you define. Keys must be 1-128 characters and must not contain "/".
- Parameters:
metadata- Metadata key-value pairs you define. Keys must be 1-128 characters and must not contain "/".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemMetadata
Structured system metadata with defined properties.
- Parameters:
systemMetadata- Structured system metadata with defined properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemMetadata
default PutRawEventsRequestEntry.Builder systemMetadata(Consumer<PutRawEventsSystemMetadata.Builder> systemMetadata) Structured system metadata with defined properties.
This is a convenience method that creates an instance of thePutRawEventsSystemMetadata.Builderavoiding the need to create one manually viaPutRawEventsSystemMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemMetadata(PutRawEventsSystemMetadata).- Parameters:
systemMetadata- a consumer that will call methods onPutRawEventsSystemMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-