Class LiveSourceReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.mediatailor.LiveSourceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LiveSourceReference>
- Enclosing interface:
LiveSourceReference
@Stability(Stable)
public static final class LiveSourceReference.Builder
extends Object
implements software.amazon.jsii.Builder<LiveSourceReference>
A builder for
LiveSourceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.liveSourceArn(String liveSourceArn) Sets the value ofLiveSourceReference.getLiveSourceArn()liveSourceName(String liveSourceName) Sets the value ofLiveSourceReference.getLiveSourceName()sourceLocationName(String sourceLocationName) Sets the value ofLiveSourceReference.getSourceLocationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
liveSourceArn
Sets the value ofLiveSourceReference.getLiveSourceArn()- Parameters:
liveSourceArn- The ARN of the LiveSource resource. This parameter is required.- Returns:
this
-
liveSourceName
Sets the value ofLiveSourceReference.getLiveSourceName()- Parameters:
liveSourceName- The LiveSourceName of the LiveSource resource. This parameter is required.- Returns:
this
-
sourceLocationName
Sets the value ofLiveSourceReference.getSourceLocationName()- Parameters:
sourceLocationName- The SourceLocationName of the LiveSource resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LiveSourceReference>- Returns:
- a new instance of
LiveSourceReference - Throws:
NullPointerException- if any required attribute was not provided
-