@Stability(value=Stable) public static final class CfnEventBusProps.Builder extends Object implements software.amazon.jsii.Builder<CfnEventBusProps>
CfnEventBusProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEventBusProps |
build()
Builds the configured instance.
|
CfnEventBusProps.Builder |
eventSourceName(String eventSourceName)
Sets the value of
CfnEventBusProps.getEventSourceName() |
CfnEventBusProps.Builder |
name(String name)
Sets the value of
CfnEventBusProps.getName() |
CfnEventBusProps.Builder |
tags(List<? extends CfnEventBus.TagEntryProperty> tags)
Sets the value of
CfnEventBusProps.getTags() |
@Stability(value=Stable) public CfnEventBusProps.Builder name(String name)
CfnEventBusProps.getName()name - The name of the new event bus. This parameter is required.
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.
this@Stability(value=Stable) public CfnEventBusProps.Builder eventSourceName(String eventSourceName)
CfnEventBusProps.getEventSourceName()eventSourceName - If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.this@Stability(value=Stable) public CfnEventBusProps.Builder tags(List<? extends CfnEventBus.TagEntryProperty> tags)
CfnEventBusProps.getTags()tags - Tags to associate with the event bus.this@Stability(value=Stable) public CfnEventBusProps build()
build in interface software.amazon.jsii.Builder<CfnEventBusProps>CfnEventBusPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.