Class MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.medialive.events.MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MediaLiveChannelAlert.MediaLiveChannelAlertProps>
- Enclosing interface:
MediaLiveChannelAlert.MediaLiveChannelAlertProps
@Stability(Experimental)
public static final class MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder
extends Object
implements software.amazon.jsii.Builder<MediaLiveChannelAlert.MediaLiveChannelAlertProps>
A builder for
MediaLiveChannelAlert.MediaLiveChannelAlertProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getAlarmId()alarmState(List<String> alarmState) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getAlarmState()Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getAlertType()build()Builds the configured instance.channelArn(List<String> channelArn) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getChannelArn()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getEventMetadata()Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getMessage()Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getPipeline()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmId
@Stability(Experimental) public MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder alarmId(List<String> alarmId) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getAlarmId()- Parameters:
alarmId- alarm_id property. Specify an array of string values to match this event if the actual value of alarm_id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
alarmState
@Stability(Experimental) public MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder alarmState(List<String> alarmState) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getAlarmState()- Parameters:
alarmState- alarm_state property. Specify an array of string values to match this event if the actual value of alarm_state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
alertType
@Stability(Experimental) public MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder alertType(List<String> alertType) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getAlertType()- Parameters:
alertType- alert_type property. Specify an array of string values to match this event if the actual value of alert_type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
channelArn
@Stability(Experimental) public MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder channelArn(List<String> channelArn) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getChannelArn()- 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 MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
message
@Stability(Experimental) public MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder message(List<String> message) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getMessage()- 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 MediaLiveChannelAlert.MediaLiveChannelAlertProps.Builder pipeline(List<String> pipeline) Sets the value ofMediaLiveChannelAlert.MediaLiveChannelAlertProps.getPipeline()- 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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MediaLiveChannelAlert.MediaLiveChannelAlertProps>- Returns:
- a new instance of
MediaLiveChannelAlert.MediaLiveChannelAlertProps - Throws:
NullPointerException- if any required attribute was not provided
-