Interface CreateEventSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEventSourceRequest.Builder,,CreateEventSourceRequest> EventBridgeV2Request.Builder,SdkBuilder<CreateEventSourceRequest.Builder,,CreateEventSourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEventSourceRequest
@Mutable
@NotThreadSafe
public static interface CreateEventSourceRequest.Builder
extends EventBridgeV2Request.Builder, SdkPojo, CopyableBuilder<CreateEventSourceRequest.Builder,CreateEventSourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Sets the value of the ClientToken property for this object.default CreateEventSourceRequest.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.eventBusArn(String eventBusArn) Sets the value of the EventBusArn property for this object.Sets the value of the Name property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sets the value of the Tags property for this object.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
-
name
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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 CreateEventSourceRequest.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.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEventSourceRequest.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
CreateEventSourceRequest.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.
-