Interface PutEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutEventsRequest.Builder,,PutEventsRequest> EventBridgeRequest.Builder,SdkBuilder<PutEventsRequest.Builder,,PutEventsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutEventsRequest
-
Method Summary
Modifier and TypeMethodDescriptionendpointId(String endpointId) The URL subdomain of the endpoint.entries(Collection<PutEventsRequestEntry> entries) The entry that defines an event in your system.entries(Consumer<PutEventsRequestEntry.Builder>... entries) The entry that defines an event in your system.entries(PutEventsRequestEntry... entries) The entry that defines an event in your system.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, sdkFields
-
Method Details
-
entries
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
- Parameters:
entries- The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
- Parameters:
entries- The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.
This is a convenience method that creates an instance of thePutEventsRequestEntry.Builderavoiding the need to create one manually viaPutEventsRequestEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<PutEventsRequestEntry>).- Parameters:
entries- a consumer that will call methods onPutEventsRequestEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointId
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is
abcde.veo.When using Java, you must include
auth-crton the class path.- Parameters:
endpointId- The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId isabcde.veo.When using Java, you must include
auth-crton the class path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutEventsRequest.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
PutEventsRequest.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.
-