Class CfnFlowOutputProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowOutputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowOutputProps>
- Enclosing interface:
CfnFlowOutputProps
@Stability(Stable)
public static final class CfnFlowOutputProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowOutputProps>
A builder for
CfnFlowOutputProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cidrAllowList
(List<String> cidrAllowList) Sets the value ofCfnFlowOutputProps.getCidrAllowList()
description
(String description) Sets the value ofCfnFlowOutputProps.getDescription()
destination
(String destination) Sets the value ofCfnFlowOutputProps.getDestination()
encryption
(IResolvable encryption) Sets the value ofCfnFlowOutputProps.getEncryption()
encryption
(CfnFlowOutput.EncryptionProperty encryption) Sets the value ofCfnFlowOutputProps.getEncryption()
Sets the value ofCfnFlowOutputProps.getFlowArn()
maxLatency
(Number maxLatency) Sets the value ofCfnFlowOutputProps.getMaxLatency()
minLatency
(Number minLatency) Sets the value ofCfnFlowOutputProps.getMinLatency()
Sets the value ofCfnFlowOutputProps.getName()
Sets the value ofCfnFlowOutputProps.getPort()
Sets the value ofCfnFlowOutputProps.getProtocol()
Sets the value ofCfnFlowOutputProps.getRemoteId()
smoothingLatency
(Number smoothingLatency) Sets the value ofCfnFlowOutputProps.getSmoothingLatency()
Sets the value ofCfnFlowOutputProps.getStreamId()
vpcInterfaceAttachment
(IResolvable vpcInterfaceAttachment) Sets the value ofCfnFlowOutputProps.getVpcInterfaceAttachment()
vpcInterfaceAttachment
(CfnFlowOutput.VpcInterfaceAttachmentProperty vpcInterfaceAttachment) Sets the value ofCfnFlowOutputProps.getVpcInterfaceAttachment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowArn
Sets the value ofCfnFlowOutputProps.getFlowArn()
- Parameters:
flowArn
- The Amazon Resource Name (ARN) of the flow this output is attached to. This parameter is required.- Returns:
this
-
protocol
Sets the value ofCfnFlowOutputProps.getProtocol()
- Parameters:
protocol
- The protocol to use for the output. This parameter is required.- Returns:
this
-
cidrAllowList
Sets the value ofCfnFlowOutputProps.getCidrAllowList()
- Parameters:
cidrAllowList
- The range of IP addresses that are allowed to initiate output requests to this flow. Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.- Returns:
this
-
description
Sets the value ofCfnFlowOutputProps.getDescription()
- Parameters:
description
- A description of the output. This description is not visible outside of the current AWS account even if the account grants entitlements to other accounts.- Returns:
this
-
destination
Sets the value ofCfnFlowOutputProps.getDestination()
- Parameters:
destination
- The IP address where you want to send the output.- Returns:
this
-
encryption
Sets the value ofCfnFlowOutputProps.getEncryption()
- Parameters:
encryption
- The encryption credentials that you want to use for the output.- Returns:
this
-
encryption
@Stability(Stable) public CfnFlowOutputProps.Builder encryption(CfnFlowOutput.EncryptionProperty encryption) Sets the value ofCfnFlowOutputProps.getEncryption()
- Parameters:
encryption
- The encryption credentials that you want to use for the output.- Returns:
this
-
maxLatency
Sets the value ofCfnFlowOutputProps.getMaxLatency()
- Parameters:
maxLatency
- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.- Returns:
this
-
minLatency
Sets the value ofCfnFlowOutputProps.getMinLatency()
- Parameters:
minLatency
- The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.- Returns:
this
-
name
Sets the value ofCfnFlowOutputProps.getName()
- Parameters:
name
- The name of the VPC interface.- Returns:
this
-
port
Sets the value ofCfnFlowOutputProps.getPort()
- Parameters:
port
- The port to use when MediaConnect distributes content to the output.- Returns:
this
-
remoteId
Sets the value ofCfnFlowOutputProps.getRemoteId()
- Parameters:
remoteId
- The identifier that is assigned to the Zixi receiver. This parameter applies only to outputs that use Zixi pull.- Returns:
this
-
smoothingLatency
Sets the value ofCfnFlowOutputProps.getSmoothingLatency()
- Parameters:
smoothingLatency
- The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.- Returns:
this
-
streamId
Sets the value ofCfnFlowOutputProps.getStreamId()
- Parameters:
streamId
- The stream ID that you want to use for this transport. This parameter applies only to Zixi and SRT caller-based streams.- Returns:
this
-
vpcInterfaceAttachment
@Stability(Stable) public CfnFlowOutputProps.Builder vpcInterfaceAttachment(IResolvable vpcInterfaceAttachment) Sets the value ofCfnFlowOutputProps.getVpcInterfaceAttachment()
- Parameters:
vpcInterfaceAttachment
- The VPC interface that you want to send your output to.- Returns:
this
-
vpcInterfaceAttachment
@Stability(Stable) public CfnFlowOutputProps.Builder vpcInterfaceAttachment(CfnFlowOutput.VpcInterfaceAttachmentProperty vpcInterfaceAttachment) Sets the value ofCfnFlowOutputProps.getVpcInterfaceAttachment()
- Parameters:
vpcInterfaceAttachment
- The VPC interface that you want to send your output to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowOutputProps>
- Returns:
- a new instance of
CfnFlowOutputProps
- Throws:
NullPointerException
- if any required attribute was not provided
-