Class SdiSourceReference.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.SdiSourceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SdiSourceReference>
- Enclosing interface:
SdiSourceReference
@Stability(Stable)
public static final class SdiSourceReference.Builder
extends Object
implements software.amazon.jsii.Builder<SdiSourceReference>
A builder for
SdiSourceReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sdiSourceArn
(String sdiSourceArn) Sets the value ofSdiSourceReference.getSdiSourceArn()
sdiSourceId
(String sdiSourceId) Sets the value ofSdiSourceReference.getSdiSourceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sdiSourceArn
Sets the value ofSdiSourceReference.getSdiSourceArn()
- Parameters:
sdiSourceArn
- The ARN of the SdiSource resource. This parameter is required.- Returns:
this
-
sdiSourceId
Sets the value ofSdiSourceReference.getSdiSourceId()
- Parameters:
sdiSourceId
- The Id of the SdiSource resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SdiSourceReference>
- Returns:
- a new instance of
SdiSourceReference
- Throws:
NullPointerException
- if any required attribute was not provided
-