Interface PutPartnerEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutPartnerEventsRequest.Builder,,PutPartnerEventsRequest> EventBridgeRequest.Builder,SdkBuilder<PutPartnerEventsRequest.Builder,,PutPartnerEventsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutPartnerEventsRequest
@Mutable
@NotThreadSafe
public static interface PutPartnerEventsRequest.Builder
extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<PutPartnerEventsRequest.Builder,PutPartnerEventsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionentries(Collection<PutPartnerEventsRequestEntry> entries) The list of events to write to the event bus.entries(Consumer<PutPartnerEventsRequestEntry.Builder>... entries) The list of events to write to the event bus.entries(PutPartnerEventsRequestEntry... entries) The list of events to write to the event bus.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.eventbridge.model.EventBridgeRequest.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
-
entries
The list of events to write to the event bus.
- Parameters:
entries- The list of events to write to the event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The list of events to write to the event bus.
- Parameters:
entries- The list of events to write to the event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The list of events to write to the event bus.
This is a convenience method that creates an instance of thePutPartnerEventsRequestEntry.Builderavoiding the need to create one manually viaPutPartnerEventsRequestEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<PutPartnerEventsRequestEntry>).- Parameters:
entries- a consumer that will call methods onPutPartnerEventsRequestEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutPartnerEventsRequest.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
PutPartnerEventsRequest.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.
-