Class EventIntegrationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.appintegrations.EventIntegrationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventIntegrationReference>
- Enclosing interface:
EventIntegrationReference
@Stability(Stable)
public static final class EventIntegrationReference.Builder
extends Object
implements software.amazon.jsii.Builder<EventIntegrationReference>
A builder for
EventIntegrationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventIntegrationArn(String eventIntegrationArn) Sets the value ofEventIntegrationReference.getEventIntegrationArn()eventIntegrationName(String eventIntegrationName) Sets the value ofEventIntegrationReference.getEventIntegrationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventIntegrationArn
@Stability(Stable) public EventIntegrationReference.Builder eventIntegrationArn(String eventIntegrationArn) Sets the value ofEventIntegrationReference.getEventIntegrationArn()- Parameters:
eventIntegrationArn- The ARN of the EventIntegration resource. This parameter is required.- Returns:
this
-
eventIntegrationName
@Stability(Stable) public EventIntegrationReference.Builder eventIntegrationName(String eventIntegrationName) Sets the value ofEventIntegrationReference.getEventIntegrationName()- Parameters:
eventIntegrationName- The Name of the EventIntegration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventIntegrationReference>- Returns:
- a new instance of
EventIntegrationReference - Throws:
NullPointerException- if any required attribute was not provided
-