Class CfnFlowPropsMixin.SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowPropsMixin.SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.SourceProperty>
- Enclosing interface:
CfnFlowPropsMixin.SourceProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.SourceProperty>
A builder for
CfnFlowPropsMixin.SourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.decryption(CfnFlowPropsMixin.EncryptionProperty decryption) Sets the value ofCfnFlowPropsMixin.SourceProperty.getDecryption()decryption(IResolvable decryption) Sets the value ofCfnFlowPropsMixin.SourceProperty.getDecryption()description(String description) Sets the value ofCfnFlowPropsMixin.SourceProperty.getDescription()entitlementArn(String entitlementArn) Sets the value ofCfnFlowPropsMixin.SourceProperty.getEntitlementArn()gatewayBridgeSource(CfnFlowPropsMixin.GatewayBridgeSourceProperty gatewayBridgeSource) Sets the value ofCfnFlowPropsMixin.SourceProperty.getGatewayBridgeSource()gatewayBridgeSource(IResolvable gatewayBridgeSource) Sets the value ofCfnFlowPropsMixin.SourceProperty.getGatewayBridgeSource()Sets the value ofCfnFlowPropsMixin.SourceProperty.getIngestIp()ingestPort(Number ingestPort) Sets the value ofCfnFlowPropsMixin.SourceProperty.getIngestPort()maxBitrate(Number maxBitrate) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMaxBitrate()maxLatency(Number maxLatency) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMaxLatency()maxSyncBuffer(Number maxSyncBuffer) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMaxSyncBuffer()mediaStreamSourceConfigurations(List<? extends Object> mediaStreamSourceConfigurations) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMediaStreamSourceConfigurations()mediaStreamSourceConfigurations(IResolvable mediaStreamSourceConfigurations) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMediaStreamSourceConfigurations()minLatency(Number minLatency) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMinLatency()Sets the value ofCfnFlowPropsMixin.SourceProperty.getName()Sets the value ofCfnFlowPropsMixin.SourceProperty.getProtocol()routerIntegrationState(String routerIntegrationState) Sets the value ofCfnFlowPropsMixin.SourceProperty.getRouterIntegrationState()routerIntegrationTransitDecryption(CfnFlowPropsMixin.FlowTransitEncryptionProperty routerIntegrationTransitDecryption) Sets the value ofCfnFlowPropsMixin.SourceProperty.getRouterIntegrationTransitDecryption()routerIntegrationTransitDecryption(IResolvable routerIntegrationTransitDecryption) Sets the value ofCfnFlowPropsMixin.SourceProperty.getRouterIntegrationTransitDecryption()senderControlPort(Number senderControlPort) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSenderControlPort()senderIpAddress(String senderIpAddress) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSenderIpAddress()Sets the value ofCfnFlowPropsMixin.SourceProperty.getSourceArn()sourceIngestPort(String sourceIngestPort) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSourceIngestPort()sourceListenerAddress(String sourceListenerAddress) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSourceListenerAddress()sourceListenerPort(Number sourceListenerPort) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSourceListenerPort()Sets the value ofCfnFlowPropsMixin.SourceProperty.getStreamId()vpcInterfaceName(String vpcInterfaceName) Sets the value ofCfnFlowPropsMixin.SourceProperty.getVpcInterfaceName()whitelistCidr(String whitelistCidr) Sets the value ofCfnFlowPropsMixin.SourceProperty.getWhitelistCidr()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
decryption
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder decryption(IResolvable decryption) Sets the value ofCfnFlowPropsMixin.SourceProperty.getDecryption()- Parameters:
decryption- The type of encryption that is used on the content ingested from this source.- Returns:
this
-
decryption
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder decryption(CfnFlowPropsMixin.EncryptionProperty decryption) Sets the value ofCfnFlowPropsMixin.SourceProperty.getDecryption()- Parameters:
decryption- The type of encryption that is used on the content ingested from this source.- Returns:
this
-
description
Sets the value ofCfnFlowPropsMixin.SourceProperty.getDescription()- Parameters:
description- A description for the source. This value is not used or seen outside of the current MediaConnect account.- Returns:
this
-
entitlementArn
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder entitlementArn(String entitlementArn) Sets the value ofCfnFlowPropsMixin.SourceProperty.getEntitlementArn()- Parameters:
entitlementArn- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.- Returns:
this
-
gatewayBridgeSource
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder gatewayBridgeSource(IResolvable gatewayBridgeSource) Sets the value ofCfnFlowPropsMixin.SourceProperty.getGatewayBridgeSource()- Parameters:
gatewayBridgeSource- The source configuration for cloud flows receiving a stream from a bridge.- Returns:
this
-
gatewayBridgeSource
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder gatewayBridgeSource(CfnFlowPropsMixin.GatewayBridgeSourceProperty gatewayBridgeSource) Sets the value ofCfnFlowPropsMixin.SourceProperty.getGatewayBridgeSource()- Parameters:
gatewayBridgeSource- The source configuration for cloud flows receiving a stream from a bridge.- Returns:
this
-
ingestIp
Sets the value ofCfnFlowPropsMixin.SourceProperty.getIngestIp()- Parameters:
ingestIp- The IP address that the flow will be listening on for incoming content.- Returns:
this
-
ingestPort
Sets the value ofCfnFlowPropsMixin.SourceProperty.getIngestPort()- Parameters:
ingestPort- The port that the flow will be listening on for incoming content.- Returns:
this
-
maxBitrate
Sets the value ofCfnFlowPropsMixin.SourceProperty.getMaxBitrate()- Parameters:
maxBitrate- The maximum bitrate for RIST, RTP, and RTP-FEC streams.- Returns:
this
-
maxLatency
Sets the value ofCfnFlowPropsMixin.SourceProperty.getMaxLatency()- Parameters:
maxLatency- The maximum latency in milliseconds for a RIST or Zixi-based source.- Returns:
this
-
maxSyncBuffer
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder maxSyncBuffer(Number maxSyncBuffer) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMaxSyncBuffer()- Parameters:
maxSyncBuffer- The size of the buffer (in milliseconds) to use to sync incoming source data.- Returns:
this
-
mediaStreamSourceConfigurations
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder mediaStreamSourceConfigurations(IResolvable mediaStreamSourceConfigurations) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMediaStreamSourceConfigurations()- Parameters:
mediaStreamSourceConfigurations- The media streams that are associated with the source, and the parameters for those associations.- Returns:
this
-
mediaStreamSourceConfigurations
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder mediaStreamSourceConfigurations(List<? extends Object> mediaStreamSourceConfigurations) Sets the value ofCfnFlowPropsMixin.SourceProperty.getMediaStreamSourceConfigurations()- Parameters:
mediaStreamSourceConfigurations- The media streams that are associated with the source, and the parameters for those associations.- Returns:
this
-
minLatency
Sets the value ofCfnFlowPropsMixin.SourceProperty.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 ofCfnFlowPropsMixin.SourceProperty.getName()- Parameters:
name- The name of the source.- Returns:
this
-
protocol
Sets the value ofCfnFlowPropsMixin.SourceProperty.getProtocol()- Parameters:
protocol- The protocol that is used by the source. AWS CloudFormation does not currently support CDI or ST 2110 JPEG XS source protocols.AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.
- Returns:
this
-
routerIntegrationState
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder routerIntegrationState(String routerIntegrationState) Sets the value ofCfnFlowPropsMixin.SourceProperty.getRouterIntegrationState()- Parameters:
routerIntegrationState- Indicates if router integration is enabled or disabled on the flow source.- Returns:
this
-
routerIntegrationTransitDecryption
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder routerIntegrationTransitDecryption(IResolvable routerIntegrationTransitDecryption) Sets the value ofCfnFlowPropsMixin.SourceProperty.getRouterIntegrationTransitDecryption()- Parameters:
routerIntegrationTransitDecryption- The decryption configuration for the flow source when router integration is enabled.- Returns:
this
-
routerIntegrationTransitDecryption
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder routerIntegrationTransitDecryption(CfnFlowPropsMixin.FlowTransitEncryptionProperty routerIntegrationTransitDecryption) Sets the value ofCfnFlowPropsMixin.SourceProperty.getRouterIntegrationTransitDecryption()- Parameters:
routerIntegrationTransitDecryption- The decryption configuration for the flow source when router integration is enabled.- Returns:
this
-
senderControlPort
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder senderControlPort(Number senderControlPort) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSenderControlPort()- Parameters:
senderControlPort- The port that the flow uses to send outbound requests to initiate connection with the sender.- Returns:
this
-
senderIpAddress
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder senderIpAddress(String senderIpAddress) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSenderIpAddress()- Parameters:
senderIpAddress- The IP address that the flow communicates with to initiate connection with the sender.- Returns:
this
-
sourceArn
Sets the value ofCfnFlowPropsMixin.SourceProperty.getSourceArn()- Parameters:
sourceArn- The ARN of the source.- Returns:
this
-
sourceIngestPort
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder sourceIngestPort(String sourceIngestPort) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSourceIngestPort()- Parameters:
sourceIngestPort- The port that the flow listens on for incoming content. If the protocol of the source is Zixi, the port must be set to 2088.- Returns:
this
-
sourceListenerAddress
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder sourceListenerAddress(String sourceListenerAddress) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSourceListenerAddress()- Parameters:
sourceListenerAddress- Source IP or domain name for SRT-caller protocol.- Returns:
this
-
sourceListenerPort
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder sourceListenerPort(Number sourceListenerPort) Sets the value ofCfnFlowPropsMixin.SourceProperty.getSourceListenerPort()- Parameters:
sourceListenerPort- Source port for SRT-caller protocol.- Returns:
this
-
streamId
Sets the value ofCfnFlowPropsMixin.SourceProperty.getStreamId()- Parameters:
streamId- The stream ID that you want to use for the transport. This parameter applies only to Zixi-based streams.- Returns:
this
-
vpcInterfaceName
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder vpcInterfaceName(String vpcInterfaceName) Sets the value ofCfnFlowPropsMixin.SourceProperty.getVpcInterfaceName()- Parameters:
vpcInterfaceName- The name of the VPC interface that is used for this source.- Returns:
this
-
whitelistCidr
@Stability(Stable) public CfnFlowPropsMixin.SourceProperty.Builder whitelistCidr(String whitelistCidr) Sets the value ofCfnFlowPropsMixin.SourceProperty.getWhitelistCidr()- Parameters:
whitelistCidr- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.SourceProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.SourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-