Class Smpte2110SdpLocation.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.Smpte2110SdpLocation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Smpte2110SdpLocation>
- Enclosing interface:
Smpte2110SdpLocation
@Stability(Experimental)
public static final class Smpte2110SdpLocation.Builder
extends Object
implements software.amazon.jsii.Builder<Smpte2110SdpLocation>
A builder for
Smpte2110SdpLocation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.mediaIndex(Number mediaIndex) Sets the value ofSmpte2110SdpLocation.getMediaIndex()Sets the value ofSmpte2110SdpLocation.getSdpUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sdpUrl
Sets the value ofSmpte2110SdpLocation.getSdpUrl()- Parameters:
sdpUrl- The URL of the SDP file. This parameter is required.- Returns:
this
-
mediaIndex
Sets the value ofSmpte2110SdpLocation.getMediaIndex()- Parameters:
mediaIndex- The index of the media stream within the SDP to ingest. Use when the SDP describes more than one stream of that media type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Smpte2110SdpLocation>- Returns:
- a new instance of
Smpte2110SdpLocation - Throws:
NullPointerException- if any required attribute was not provided
-