Interface CreateEventBusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchEventsRequest.Builder,CopyableBuilder<CreateEventBusRequest.Builder,CreateEventBusRequest>,SdkBuilder<CreateEventBusRequest.Builder,CreateEventBusRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateEventBusRequest
public static interface CreateEventBusRequest.Builder extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<CreateEventBusRequest.Builder,CreateEventBusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateEventBusRequest.BuildereventSourceName(String eventSourceName)If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.CreateEventBusRequest.Buildername(String name)The name of the new event bus.CreateEventBusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateEventBusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateEventBusRequest.Buildertags(Collection<Tag> tags)Tags to associate with the event bus.CreateEventBusRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to associate with the event bus.CreateEventBusRequest.Buildertags(Tag... tags)Tags to associate with the event bus.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateEventBusRequest.Builder name(String name)
The name of the new event bus.
Event bus names cannot contain the / character. You can't use the name
defaultfor a custom event bus, as this name is already used for your account's default event bus.If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
- Parameters:
name- The name of the new event bus.Event bus names cannot contain the / character. You can't use the name
defaultfor a custom event bus, as this name is already used for your account's default event bus.If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceName
CreateEventBusRequest.Builder eventSourceName(String eventSourceName)
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
- Parameters:
eventSourceName- If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEventBusRequest.Builder tags(Collection<Tag> tags)
Tags to associate with the event bus.
- Parameters:
tags- Tags to associate with the event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEventBusRequest.Builder tags(Tag... tags)
Tags to associate with the event bus.
- Parameters:
tags- Tags to associate with the event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateEventBusRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to associate with the event bus.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateEventBusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEventBusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-