Class EventBusPolicyReference.Builder
java.lang.Object
software.amazon.awscdk.services.events.EventBusPolicyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventBusPolicyReference>
- Enclosing interface:
EventBusPolicyReference
@Stability(Stable)
public static final class EventBusPolicyReference.Builder
extends Object
implements software.amazon.jsii.Builder<EventBusPolicyReference>
A builder for
EventBusPolicyReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.eventBusPolicyId
(String eventBusPolicyId) Sets the value ofEventBusPolicyReference.getEventBusPolicyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventBusPolicyId
Sets the value ofEventBusPolicyReference.getEventBusPolicyId()
- Parameters:
eventBusPolicyId
- The Id of the EventBusPolicy resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EventBusPolicyReference>
- Returns:
- a new instance of
EventBusPolicyReference
- Throws:
NullPointerException
- if any required attribute was not provided
-