Class MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.mediapackage.events.MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps>
- Enclosing interface:
MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps
@Stability(Experimental)
public static final class MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.Builder
extends Object
implements software.amazon.jsii.Builder<MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
event
@Stability(Experimental) public MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.Builder event(List<String> event) Sets the value ofMediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.getEvent()- Parameters:
event- event property. Specify an array of string values to match this event if the actual value of event 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 MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofMediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
message
@Stability(Experimental) public MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.Builder message(List<String> message) Sets the value ofMediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps.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
-
build
@Stability(Experimental) public MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps>- Returns:
- a new instance of
MediaPackageKeyProviderNotification.MediaPackageKeyProviderNotificationProps - Throws:
NullPointerException- if any required attribute was not provided
-