public static final class CfnFlow.SourceProperty.Builder
extends java.lang.Object
CfnFlow.SourceProperty
Constructor and Description |
---|
Builder() |
public CfnFlow.SourceProperty.Builder decryption(IResolvable decryption)
CfnFlow.SourceProperty.getDecryption()
decryption
- The type of encryption that is used on the content ingested from the source.this
public CfnFlow.SourceProperty.Builder decryption(CfnFlow.EncryptionProperty decryption)
CfnFlow.SourceProperty.getDecryption()
decryption
- The type of encryption that is used on the content ingested from the source.this
public CfnFlow.SourceProperty.Builder description(java.lang.String description)
CfnFlow.SourceProperty.getDescription()
description
- A description of the source.
This description is not visible outside of the current AWS account.this
public CfnFlow.SourceProperty.Builder entitlementArn(java.lang.String entitlementArn)
CfnFlow.SourceProperty.getEntitlementArn()
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.this
public CfnFlow.SourceProperty.Builder ingestIp(java.lang.String ingestIp)
CfnFlow.SourceProperty.getIngestIp()
ingestIp
- The IP address that the flow listens on for incoming content.this
public CfnFlow.SourceProperty.Builder ingestPort(java.lang.Number ingestPort)
CfnFlow.SourceProperty.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 CfnFlow.SourceProperty.Builder maxBitrate(java.lang.Number maxBitrate)
CfnFlow.SourceProperty.getMaxBitrate()
maxBitrate
- The maximum bitrate for RIST, RTP, and RTP-FEC streams.this
public CfnFlow.SourceProperty.Builder maxLatency(java.lang.Number maxLatency)
CfnFlow.SourceProperty.getMaxLatency()
maxLatency
- The maximum latency in milliseconds for a RIST or Zixi-based source.this
public CfnFlow.SourceProperty.Builder minLatency(java.lang.Number minLatency)
CfnFlow.SourceProperty.getMinLatency()
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.this
public CfnFlow.SourceProperty.Builder name(java.lang.String name)
CfnFlow.SourceProperty.getName()
name
- The name of the source.this
public CfnFlow.SourceProperty.Builder protocol(java.lang.String protocol)
CfnFlow.SourceProperty.getProtocol()
protocol
- The protocol that is used by the source.
For a full list of available protocols, see: Source protocols in the AWS Elemental MediaConnect API Reference .this
public CfnFlow.SourceProperty.Builder sourceArn(java.lang.String sourceArn)
CfnFlow.SourceProperty.getSourceArn()
sourceArn
- The ARN of the source.this
public CfnFlow.SourceProperty.Builder sourceIngestPort(java.lang.String sourceIngestPort)
CfnFlow.SourceProperty.getSourceIngestPort()
sourceIngestPort
- The port that the flow will be listening on for incoming content.this
public CfnFlow.SourceProperty.Builder streamId(java.lang.String streamId)
CfnFlow.SourceProperty.getStreamId()
streamId
- The stream ID that you want to use for the transport.
This parameter applies only to Zixi-based streams.this
public CfnFlow.SourceProperty.Builder vpcInterfaceName(java.lang.String vpcInterfaceName)
CfnFlow.SourceProperty.getVpcInterfaceName()
vpcInterfaceName
- The name of the VPC interface that the source content comes from.this
public CfnFlow.SourceProperty.Builder whitelistCidr(java.lang.String whitelistCidr)
CfnFlow.SourceProperty.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 CfnFlow.SourceProperty build()
CfnFlow.SourceProperty
java.lang.NullPointerException
- if any required attribute was not provided