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