Class FlowAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.FlowAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FlowAttributes>
- Enclosing interface:
FlowAttributes
@Stability(Experimental)
public static final class FlowAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<FlowAttributes>
A builder for
FlowAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofFlowAttributes.getEgressIp()Sets the value ofFlowAttributes.getFlowArn()flowAvailabilityZone(String flowAvailabilityZone) Sets the value ofFlowAttributes.getFlowAvailabilityZone()isFailoverEnabled(Boolean isFailoverEnabled) Sets the value ofFlowAttributes.getIsFailoverEnabled()Sets the value ofFlowAttributes.getSourceArn()sourceIngestIp(String sourceIngestIp) Sets the value ofFlowAttributes.getSourceIngestIp()sourceIngestPort(String sourceIngestPort) Sets the value ofFlowAttributes.getSourceIngestPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowArn
Sets the value ofFlowAttributes.getFlowArn()- Parameters:
flowArn- The ARN of the flow. This parameter is required.- Returns:
this
-
egressIp
Sets the value ofFlowAttributes.getEgressIp()- Parameters:
egressIp- The IP address that the flow uses to send outbound content.- Returns:
this
-
flowAvailabilityZone
@Stability(Experimental) public FlowAttributes.Builder flowAvailabilityZone(String flowAvailabilityZone) Sets the value ofFlowAttributes.getFlowAvailabilityZone()- Parameters:
flowAvailabilityZone- The Availability Zone that the flow was created in.- Returns:
this
-
isFailoverEnabled
Sets the value ofFlowAttributes.getIsFailoverEnabled()- Parameters:
isFailoverEnabled- Indicates whether failover configured.- Returns:
this
-
sourceArn
Sets the value ofFlowAttributes.getSourceArn()- Parameters:
sourceArn- ARN of the source defined on the flow. Not encoded in the flow ARN, so must be provided explicitly when you need access tosourceArnon the imported construct.- Returns:
this
-
sourceIngestIp
Sets the value ofFlowAttributes.getSourceIngestIp()- Parameters:
sourceIngestIp- The IP address that the flow listens on for incoming content.- Returns:
this
-
sourceIngestPort
Sets the value ofFlowAttributes.getSourceIngestPort()- Parameters:
sourceIngestPort- The port that the flow listens on for incoming content.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FlowAttributes>- Returns:
- a new instance of
FlowAttributes - Throws:
NullPointerException- if any required attribute was not provided
-