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 Details

    • name

      The name of the new event bus.

      Event bus names cannot contain the / character. You can't use the name default for 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 default for 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

      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

      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

      Tags to associate with the event bus.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateEventBusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.