Class MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.medialive.events.MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps>
- Enclosing interface:
MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps
@Stability(Experimental)
public static final class MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelArn(List<String> channelArn) eventMetadata(AWSEventMetadataProps eventMetadata) pipelinesRunningCount(List<String> pipelinesRunningCount) Sets the value ofMediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelArn
@Stability(Experimental) public MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder channelArn(List<String> channelArn) - Parameters:
channelArn- channel_arn property. Specify an array of string values to match this event if the actual value of channel_arn 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 MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
message
@Stability(Experimental) public MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder message(List<String> message) - Parameters:
message- message property. Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pipeline
@Stability(Experimental) public MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder pipeline(List<String> pipeline) - Parameters:
pipeline- pipeline property. Specify an array of string values to match this event if the actual value of pipeline is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pipelinesRunningCount
@Stability(Experimental) public MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder pipelinesRunningCount(List<String> pipelinesRunningCount) Sets the value ofMediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.getPipelinesRunningCount()- Parameters:
pipelinesRunningCount- pipelines_running_count property. Specify an array of string values to match this event if the actual value of pipelines_running_count is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
state
@Stability(Experimental) public MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.Builder state(List<String> state) Sets the value ofMediaLiveChannelStateChange.MediaLiveChannelStateChangeProps.getState()- Parameters:
state- state property. Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps>- Returns:
- a new instance of
MediaLiveChannelStateChange.MediaLiveChannelStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-