Interface PutRawEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutRawEventsRequest.Builder,,PutRawEventsRequest> EventBridgeV2Request.Builder,SdkBuilder<PutRawEventsRequest.Builder,,PutRawEventsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutRawEventsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutRawEventsRequest.BuilderdeduplicationConfiguration(Consumer<DeduplicationConfiguration.Builder> deduplicationConfiguration) Request-level deduplication settings, applied to every entry in the batch.deduplicationConfiguration(DeduplicationConfiguration deduplicationConfiguration) Request-level deduplication settings, applied to every entry in the batch.entries(Collection<PutRawEventsRequestEntry> entries) Sets the value of the Entries property for this object.entries(Consumer<PutRawEventsRequestEntry.Builder>... entries) Sets the value of the Entries property for this object.entries(PutRawEventsRequestEntry... entries) Sets the value of the Entries property for this object.eventBusArn(String eventBusArn) Sets the value of the EventBusArn property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default PutRawEventsRequest.BuilderschemaRegistryConfiguration(Consumer<SchemaRegistryConfiguration.Builder> schemaRegistryConfiguration) Schema-registry settings for encoding open-format (Avro/Protobuf) events.schemaRegistryConfiguration(SchemaRegistryConfiguration schemaRegistryConfiguration) Schema-registry settings for encoding open-format (Avro/Protobuf) events.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridgev2.model.EventBridgeV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
eventBusArn
Sets the value of the EventBusArn property for this object.- Parameters:
eventBusArn- The new value for the EventBusArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Sets the value of the Entries property for this object.- Parameters:
entries- The new value for the Entries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Sets the value of the Entries property for this object.- Parameters:
entries- The new value for the Entries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Sets the value of the Entries property for this object. This is a convenience method that creates an instance of thePutRawEventsRequestEntry.Builderavoiding the need to create one manually viaPutRawEventsRequestEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<PutRawEventsRequestEntry>).- Parameters:
entries- a consumer that will call methods onPutRawEventsRequestEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaRegistryConfiguration
PutRawEventsRequest.Builder schemaRegistryConfiguration(SchemaRegistryConfiguration schemaRegistryConfiguration) Schema-registry settings for encoding open-format (Avro/Protobuf) events. Required for open-format entries; ignored for JSON entries. The registry is read with the caller's credentials, so the caller needs read access to the registry it references.
- Parameters:
schemaRegistryConfiguration- Schema-registry settings for encoding open-format (Avro/Protobuf) events. Required for open-format entries; ignored for JSON entries. The registry is read with the caller's credentials, so the caller needs read access to the registry it references.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaRegistryConfiguration
default PutRawEventsRequest.Builder schemaRegistryConfiguration(Consumer<SchemaRegistryConfiguration.Builder> schemaRegistryConfiguration) Schema-registry settings for encoding open-format (Avro/Protobuf) events. Required for open-format entries; ignored for JSON entries. The registry is read with the caller's credentials, so the caller needs read access to the registry it references.
This is a convenience method that creates an instance of theSchemaRegistryConfiguration.Builderavoiding the need to create one manually viaSchemaRegistryConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschemaRegistryConfiguration(SchemaRegistryConfiguration).- Parameters:
schemaRegistryConfiguration- a consumer that will call methods onSchemaRegistryConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deduplicationConfiguration
PutRawEventsRequest.Builder deduplicationConfiguration(DeduplicationConfiguration deduplicationConfiguration) Request-level deduplication settings, applied to every entry in the batch.
- Parameters:
deduplicationConfiguration- Request-level deduplication settings, applied to every entry in the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deduplicationConfiguration
default PutRawEventsRequest.Builder deduplicationConfiguration(Consumer<DeduplicationConfiguration.Builder> deduplicationConfiguration) Request-level deduplication settings, applied to every entry in the batch.
This is a convenience method that creates an instance of theDeduplicationConfiguration.Builderavoiding the need to create one manually viaDeduplicationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeduplicationConfiguration(DeduplicationConfiguration).- Parameters:
deduplicationConfiguration- a consumer that will call methods onDeduplicationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutRawEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutRawEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-