Class FlowSourceAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.FlowSourceAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FlowSourceAttributes>
- Enclosing interface:
FlowSourceAttributes
@Stability(Experimental)
public static final class FlowSourceAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<FlowSourceAttributes>
A builder for
FlowSourceAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.flowSourceArn(String flowSourceArn) Sets the value ofFlowSourceAttributes.getFlowSourceArn()flowSourceName(String flowSourceName) Sets the value ofFlowSourceAttributes.getFlowSourceName()Sets the value ofFlowSourceAttributes.getIngestIp()sourceIngestPort(String sourceIngestPort) Sets the value ofFlowSourceAttributes.getSourceIngestPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowSourceArn
Sets the value ofFlowSourceAttributes.getFlowSourceArn()- Parameters:
flowSourceArn- The Amazon Resource Name (ARN) of the flow source. This parameter is required.- Returns:
this
-
flowSourceName
Sets the value ofFlowSourceAttributes.getFlowSourceName()- Parameters:
flowSourceName- The name of the flow source.- Returns:
this
-
ingestIp
Sets the value ofFlowSourceAttributes.getIngestIp()- Parameters:
ingestIp- The IP address that the flow will be listening on for incoming content.- Returns:
this
-
sourceIngestPort
@Stability(Experimental) public FlowSourceAttributes.Builder sourceIngestPort(String sourceIngestPort) Sets the value ofFlowSourceAttributes.getSourceIngestPort()- Parameters:
sourceIngestPort- The port that the flow will be listening on for incoming content.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FlowSourceAttributes>- Returns:
- a new instance of
FlowSourceAttributes - Throws:
NullPointerException- if any required attribute was not provided
-