Interface SetSourceRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SetSourceRequest.Builder,
,SetSourceRequest> SdkBuilder<SetSourceRequest.Builder,
,SetSourceRequest> SdkPojo
- Enclosing class:
SetSourceRequest
public static interface SetSourceRequest.Builder
extends SdkPojo, CopyableBuilder<SetSourceRequest.Builder,SetSourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SetSourceRequest.Builder
decryption
(Consumer<Encryption.Builder> decryption) The type of encryption that is used on the content ingested from this source.decryption
(Encryption decryption) The type of encryption that is used on the content ingested from this source.description
(String description) A description for the source.entitlementArn
(String entitlementArn) The ARN of the entitlement that allows you to subscribe to this flow.default SetSourceRequest.Builder
gatewayBridgeSource
(Consumer<SetGatewayBridgeSourceRequest.Builder> gatewayBridgeSource) The source configuration for cloud flows receiving a stream from a bridge.gatewayBridgeSource
(SetGatewayBridgeSourceRequest gatewayBridgeSource) The source configuration for cloud flows receiving a stream from a bridge.ingestPort
(Integer ingestPort) The port that the flow will be listening on for incoming content.maxBitrate
(Integer maxBitrate) The smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.maxLatency
(Integer maxLatency) The maximum latency in milliseconds.maxSyncBuffer
(Integer maxSyncBuffer) The size of the buffer (in milliseconds) to use to sync incoming source data.mediaStreamSourceConfigurations
(Collection<MediaStreamSourceConfigurationRequest> mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations.mediaStreamSourceConfigurations
(Consumer<MediaStreamSourceConfigurationRequest.Builder>... mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations.mediaStreamSourceConfigurations
(MediaStreamSourceConfigurationRequest... mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations.minLatency
(Integer minLatency) The minimum latency in milliseconds for SRT-based streams.The name of the source.The protocol that is used by the source.The protocol that is used by the source.senderControlPort
(Integer senderControlPort) The port that the flow uses to send outbound requests to initiate connection with the sender.senderIpAddress
(String senderIpAddress) The IP address that the flow communicates with to initiate connection with the sender.sourceListenerAddress
(String sourceListenerAddress) Source IP or domain name for SRT-caller protocol.sourceListenerPort
(Integer sourceListenerPort) Source port for SRT-caller protocol.The stream ID that you want to use for this transport.vpcInterfaceName
(String vpcInterfaceName) The name of the VPC interface to use for this source.whitelistCidr
(String whitelistCidr) The range of IP addresses that should be allowed to contribute content to your source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
decryption
The type of encryption that is used on the content ingested from this source. Allowable encryption types: static-key.- Parameters:
decryption
- The type of encryption that is used on the content ingested from this source. Allowable encryption types: static-key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decryption
The type of encryption that is used on the content ingested from this source. Allowable encryption types: static-key. This is a convenience method that creates an instance of theEncryption.Builder
avoiding the need to create one manually viaEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todecryption(Encryption)
.- Parameters:
decryption
- a consumer that will call methods onEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.- Parameters:
description
- A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlementArn
The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.- Parameters:
entitlementArn
- The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestPort
The port that the flow will be listening on for incoming content.- Parameters:
ingestPort
- The port that the flow will be listening on for incoming content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxBitrate
The smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.- Parameters:
maxBitrate
- The smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxLatency
The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.- Parameters:
maxLatency
- The maximum latency in milliseconds. This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxSyncBuffer
The size of the buffer (in milliseconds) to use to sync incoming source data.- Parameters:
maxSyncBuffer
- The size of the buffer (in milliseconds) to use to sync incoming source data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamSourceConfigurations
SetSourceRequest.Builder mediaStreamSourceConfigurations(Collection<MediaStreamSourceConfigurationRequest> mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations.- Parameters:
mediaStreamSourceConfigurations
- The media streams that are associated with the source, and the parameters for those associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamSourceConfigurations
SetSourceRequest.Builder mediaStreamSourceConfigurations(MediaStreamSourceConfigurationRequest... mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations.- Parameters:
mediaStreamSourceConfigurations
- The media streams that are associated with the source, and the parameters for those associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamSourceConfigurations
SetSourceRequest.Builder mediaStreamSourceConfigurations(Consumer<MediaStreamSourceConfigurationRequest.Builder>... mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations. This is a convenience method that creates an instance of theMediaStreamSourceConfigurationRequest.Builder
avoiding the need to create one manually viaMediaStreamSourceConfigurationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomediaStreamSourceConfigurations(List<MediaStreamSourceConfigurationRequest>)
.- Parameters:
mediaStreamSourceConfigurations
- a consumer that will call methods onMediaStreamSourceConfigurationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the source.- Parameters:
name
- The name of the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol that is used by the source.- Parameters:
protocol
- The protocol that is used by the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol that is used by the source.- Parameters:
protocol
- The protocol that is used by the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
senderControlPort
The port that the flow uses to send outbound requests to initiate connection with the sender.- Parameters:
senderControlPort
- The port that the flow uses to send outbound requests to initiate connection with the sender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
senderIpAddress
The IP address that the flow communicates with to initiate connection with the sender.- Parameters:
senderIpAddress
- The IP address that the flow communicates with to initiate connection with the sender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceListenerAddress
Source IP or domain name for SRT-caller protocol.- Parameters:
sourceListenerAddress
- Source IP or domain name for SRT-caller protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceListenerPort
Source port for SRT-caller protocol.- Parameters:
sourceListenerPort
- Source port for SRT-caller protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamId
The stream ID that you want to use for this transport. This parameter applies only to Zixi and SRT caller-based streams.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInterfaceName
The name of the VPC interface to use for this source.- Parameters:
vpcInterfaceName
- The name of the VPC interface to use for this source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayBridgeSource
The source configuration for cloud flows receiving a stream from a bridge.- Parameters:
gatewayBridgeSource
- The source configuration for cloud flows receiving a stream from a bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayBridgeSource
default SetSourceRequest.Builder gatewayBridgeSource(Consumer<SetGatewayBridgeSourceRequest.Builder> gatewayBridgeSource) The source configuration for cloud flows receiving a stream from a bridge. This is a convenience method that creates an instance of theSetGatewayBridgeSourceRequest.Builder
avoiding the need to create one manually viaSetGatewayBridgeSourceRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togatewayBridgeSource(SetGatewayBridgeSourceRequest)
.- Parameters:
gatewayBridgeSource
- a consumer that will call methods onSetGatewayBridgeSourceRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-