public static final class CfnFlowSourceProps.Builder
extends java.lang.Object
CfnFlowSourceProps
Constructor and Description |
---|
Builder() |
public CfnFlowSourceProps.Builder description(java.lang.String description)
CfnFlowSourceProps.getDescription()
description
- A description of the source. This parameter is required.
This description is not visible outside of the current AWS account.this
public CfnFlowSourceProps.Builder name(java.lang.String name)
CfnFlowSourceProps.getName()
name
- The name of the source. This parameter is required.this
public CfnFlowSourceProps.Builder decryption(IResolvable decryption)
CfnFlowSourceProps.getDecryption()
decryption
- The type of encryption that is used on the content ingested from the source.this
public CfnFlowSourceProps.Builder decryption(CfnFlowSource.EncryptionProperty decryption)
CfnFlowSourceProps.getDecryption()
decryption
- The type of encryption that is used on the content ingested from the source.this
public CfnFlowSourceProps.Builder entitlementArn(java.lang.String entitlementArn)
CfnFlowSourceProps.getEntitlementArn()
entitlementArn
- The ARN of the entitlement that allows you to subscribe to the flow.
The entitlement is set by the content originator, and the ARN is generated as part of the originator's flow.this
public CfnFlowSourceProps.Builder flowArn(java.lang.String flowArn)
CfnFlowSourceProps.getFlowArn()
flowArn
- The Amazon Resource Name (ARN) of the flow.this
public CfnFlowSourceProps.Builder ingestPort(java.lang.Number ingestPort)
CfnFlowSourceProps.getIngestPort()
ingestPort
- 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.this
public CfnFlowSourceProps.Builder maxBitrate(java.lang.Number maxBitrate)
CfnFlowSourceProps.getMaxBitrate()
maxBitrate
- The maximum bitrate for RIST, RTP, and RTP-FEC streams.this
public CfnFlowSourceProps.Builder maxLatency(java.lang.Number maxLatency)
CfnFlowSourceProps.getMaxLatency()
maxLatency
- The maximum latency in milliseconds.
This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.this
public CfnFlowSourceProps.Builder protocol(java.lang.String protocol)
CfnFlowSourceProps.getProtocol()
protocol
- The protocol that the source uses to deliver the content to MediaConnect.this
public CfnFlowSourceProps.Builder streamId(java.lang.String streamId)
CfnFlowSourceProps.getStreamId()
streamId
- The stream ID that you want to use for the transport.
This parameter applies only to Zixi-based streams.this
public CfnFlowSourceProps.Builder vpcInterfaceName(java.lang.String vpcInterfaceName)
CfnFlowSourceProps.getVpcInterfaceName()
vpcInterfaceName
- The name of the VPC interface that you want to send your output to.this
public CfnFlowSourceProps.Builder whitelistCidr(java.lang.String whitelistCidr)
CfnFlowSourceProps.getWhitelistCidr()
whitelistCidr
- The range of IP addresses that are allowed to contribute content to your source.
Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.this
public CfnFlowSourceProps build()
CfnFlowSourceProps
java.lang.NullPointerException
- if any required attribute was not provided