Class CfnEndpoint.EndpointEventBusProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnEndpoint.EndpointEventBusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint.EndpointEventBusProperty>
- Enclosing interface:
- CfnEndpoint.EndpointEventBusProperty
@Stability(Stable)
public static final class CfnEndpoint.EndpointEventBusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpoint.EndpointEventBusProperty>
A builder for
CfnEndpoint.EndpointEventBusProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.eventBusArn
(String eventBusArn) Sets the value ofCfnEndpoint.EndpointEventBusProperty.getEventBusArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventBusArn
@Stability(Stable) public CfnEndpoint.EndpointEventBusProperty.Builder eventBusArn(String eventBusArn) Sets the value ofCfnEndpoint.EndpointEventBusProperty.getEventBusArn()
- Parameters:
eventBusArn
- The ARN of the event bus the endpoint is associated with. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpoint.EndpointEventBusProperty>
- Returns:
- a new instance of
CfnEndpoint.EndpointEventBusProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-