Interface UpdateEventSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEventSourceRequest.Builder,,UpdateEventSourceRequest> EventBridgeV2Request.Builder,SdkBuilder<UpdateEventSourceRequest.Builder,,UpdateEventSourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEventSourceRequest
@Mutable
@NotThreadSafe
public static interface UpdateEventSourceRequest.Builder
extends EventBridgeV2Request.Builder, SdkPojo, CopyableBuilder<UpdateEventSourceRequest.Builder,UpdateEventSourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateEventSourceRequest.Builderconfiguration(Consumer<EventSourceConfiguration.Builder> configuration) Sets the value of the Configuration property for this object.configuration(EventSourceConfiguration configuration) Sets the value of the Configuration property for this object.description(String description) Sets the value of the Description property for this object.eventSourceArn(String eventSourceArn) Sets the value of the EventSourceArn property for this object.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.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
-
eventSourceArn
Sets the value of the EventSourceArn property for this object.- Parameters:
eventSourceArn- The new value for the EventSourceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Sets the value of the Configuration property for this object.- Parameters:
configuration- The new value for the Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateEventSourceRequest.Builder configuration(Consumer<EventSourceConfiguration.Builder> configuration) Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of theEventSourceConfiguration.Builderavoiding the need to create one manually viaEventSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(EventSourceConfiguration).- Parameters:
configuration- a consumer that will call methods onEventSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateEventSourceRequest.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
UpdateEventSourceRequest.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.
-