Class StreamStateChange.StreamStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ivs.events.StreamStateChange.StreamStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StreamStateChange.StreamStateChangeProps>
- Enclosing interface:
StreamStateChange.StreamStateChangeProps
@Stability(Experimental)
public static final class StreamStateChange.StreamStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<StreamStateChange.StreamStateChangeProps>
A builder for
StreamStateChange.StreamStateChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelName(List<String> channelName) Sets the value ofStreamStateChange.StreamStateChangeProps.getChannelName()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofStreamStateChange.StreamStateChangeProps.getEventMetadata()Sets the value ofStreamStateChange.StreamStateChangeProps.getEventName()Sets the value ofStreamStateChange.StreamStateChangeProps.getStreamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelName
@Stability(Experimental) public StreamStateChange.StreamStateChangeProps.Builder channelName(List<String> channelName) Sets the value ofStreamStateChange.StreamStateChangeProps.getChannelName()- Parameters:
channelName- channel_name property. Specify an array of string values to match this event if the actual value of channel_name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public StreamStateChange.StreamStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofStreamStateChange.StreamStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventName
@Stability(Experimental) public StreamStateChange.StreamStateChangeProps.Builder eventName(List<String> eventName) Sets the value ofStreamStateChange.StreamStateChangeProps.getEventName()- Parameters:
eventName- event_name property. Specify an array of string values to match this event if the actual value of event_name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
streamId
@Stability(Experimental) public StreamStateChange.StreamStateChangeProps.Builder streamId(List<String> streamId) Sets the value ofStreamStateChange.StreamStateChangeProps.getStreamId()- Parameters:
streamId- stream_id property. Specify an array of string values to match this event if the actual value of stream_id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StreamStateChange.StreamStateChangeProps>- Returns:
- a new instance of
StreamStateChange.StreamStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-