Class EventStreamReference.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.EventStreamReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventStreamReference>
- Enclosing interface:
EventStreamReference
@Stability(Stable)
public static final class EventStreamReference.Builder
extends Object
implements software.amazon.jsii.Builder<EventStreamReference>
A builder for
EventStreamReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainName
(String domainName) Sets the value ofEventStreamReference.getDomainName()
eventStreamArn
(String eventStreamArn) Sets the value ofEventStreamReference.getEventStreamArn()
eventStreamName
(String eventStreamName) Sets the value ofEventStreamReference.getEventStreamName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofEventStreamReference.getDomainName()
- Parameters:
domainName
- The DomainName of the EventStream resource. This parameter is required.- Returns:
this
-
eventStreamArn
Sets the value ofEventStreamReference.getEventStreamArn()
- Parameters:
eventStreamArn
- The ARN of the EventStream resource. This parameter is required.- Returns:
this
-
eventStreamName
Sets the value ofEventStreamReference.getEventStreamName()
- Parameters:
eventStreamName
- The EventStreamName of the EventStream resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EventStreamReference>
- Returns:
- a new instance of
EventStreamReference
- Throws:
NullPointerException
- if any required attribute was not provided
-