@Stability(value=Stable) public static final class EventBusProps.Builder extends Object implements software.amazon.jsii.Builder<EventBusProps>
EventBusProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EventBusProps |
build()
Builds the configured instance.
|
EventBusProps.Builder |
eventBusName(String eventBusName)
Sets the value of
EventBusProps.getEventBusName() |
EventBusProps.Builder |
eventSourceName(String eventSourceName)
Sets the value of
EventBusProps.getEventSourceName() |
@Stability(value=Stable) public EventBusProps.Builder eventBusName(String eventBusName)
EventBusProps.getEventBusName()
eventBusName
- The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this.this
@Stability(value=Stable) public EventBusProps.Builder eventSourceName(String eventSourceName)
EventBusProps.getEventSourceName()
eventSourceName
- The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this.this
@Stability(value=Stable) public EventBusProps build()
build
in interface software.amazon.jsii.Builder<EventBusProps>
EventBusProps
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.