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