Class StreamHealthChange.StreamHealthChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ivs.events.StreamHealthChange.StreamHealthChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StreamHealthChange.StreamHealthChangeProps>
- Enclosing interface:
StreamHealthChange.StreamHealthChangeProps
@Stability(Experimental)
public static final class StreamHealthChange.StreamHealthChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<StreamHealthChange.StreamHealthChangeProps>
A builder for
StreamHealthChange.StreamHealthChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelName(List<String> channelName) Sets the value ofStreamHealthChange.StreamHealthChangeProps.getChannelName()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofStreamHealthChange.StreamHealthChangeProps.getEventMetadata()Sets the value ofStreamHealthChange.StreamHealthChangeProps.getEventName()Sets the value ofStreamHealthChange.StreamHealthChangeProps.getStreamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelName
@Stability(Experimental) public StreamHealthChange.StreamHealthChangeProps.Builder channelName(List<String> channelName) Sets the value ofStreamHealthChange.StreamHealthChangeProps.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 StreamHealthChange.StreamHealthChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofStreamHealthChange.StreamHealthChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventName
@Stability(Experimental) public StreamHealthChange.StreamHealthChangeProps.Builder eventName(List<String> eventName) Sets the value ofStreamHealthChange.StreamHealthChangeProps.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 StreamHealthChange.StreamHealthChangeProps.Builder streamId(List<String> streamId) Sets the value ofStreamHealthChange.StreamHealthChangeProps.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<StreamHealthChange.StreamHealthChangeProps>- Returns:
- a new instance of
StreamHealthChange.StreamHealthChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-