Class CfnSdiSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnSdiSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSdiSourceProps>
- Enclosing interface:
CfnSdiSourceProps
@Stability(Stable)
public static final class CfnSdiSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSdiSourceProps>
A builder for
CfnSdiSourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSdiSourceProps.getMode()Sets the value ofCfnSdiSourceProps.getName()Sets the value ofCfnSdiSourceProps.getTags()Sets the value ofCfnSdiSourceProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSdiSourceProps.getName()- Parameters:
name- The name of the SdiSource. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnSdiSourceProps.getType()- Parameters:
type- The interface mode of the SdiSource. This parameter is required.- Returns:
this
-
mode
Sets the value ofCfnSdiSourceProps.getMode()- Parameters:
mode- The current state of the SdiSource.- Returns:
this
-
tags
Sets the value ofCfnSdiSourceProps.getTags()- Parameters:
tags- A collection of key-value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSdiSourceProps>- Returns:
- a new instance of
CfnSdiSourceProps - Throws:
NullPointerException- if any required attribute was not provided
-