Interface Source.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Source.Builder,
,Source> SdkBuilder<Source.Builder,
,Source> SdkPojo
- Enclosing class:
Source
-
Method Summary
Modifier and TypeMethodDescriptiondataTransferSubscriberFeePercent
(Integer dataTransferSubscriberFeePercent) Percentage from 0-100 of the data transfer cost to be billed to the subscriber.default Source.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 content that comes from another Amazon Web Services account.default Source.Builder
gatewayBridgeSource
(Consumer<GatewayBridgeSource.Builder> gatewayBridgeSource) The source configuration for cloud flows receiving a stream from a bridge.gatewayBridgeSource
(GatewayBridgeSource gatewayBridgeSource) The source configuration for cloud flows receiving a stream from a bridge.The IP address that the flow will be listening on for incoming content.ingestPort
(Integer ingestPort) The port that the flow will be listening on for incoming content.mediaStreamSourceConfigurations
(Collection<MediaStreamSourceConfiguration> mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations.mediaStreamSourceConfigurations
(Consumer<MediaStreamSourceConfiguration.Builder>... mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations.mediaStreamSourceConfigurations
(MediaStreamSourceConfiguration... mediaStreamSourceConfigurations) The media streams that are associated with the source, and the parameters for those associations.The name of the source.peerIpAddress
(String peerIpAddress) The IP address of the device that is currently sending content to this source.senderControlPort
(Integer senderControlPort) The IP address that the flow communicates with to initiate connection with the sender.senderIpAddress
(String senderIpAddress) The port that the flow uses to send outbound requests to initiate connection with the sender.The ARN of the source.default Source.Builder
transport
(Consumer<Transport.Builder> transport) Attributes related to the transport stream that are used in the source.Attributes related to the transport stream that are used in the source.vpcInterfaceName
(String vpcInterfaceName) The name of the VPC interface that is used 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, sdkFieldNameToField, sdkFields
-
Method Details
-
dataTransferSubscriberFeePercent
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
- Parameters:
dataTransferSubscriberFeePercent
- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.- 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.
- Parameters:
decryption
- The type of encryption that is used on the content ingested from this source.- 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.
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 MediaConnect account.
- Parameters:
description
- A description for the source. This value is not used or seen outside of the current 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 content that comes from another Amazon Web Services account. The entitlement is set by the content 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 content that comes from another Amazon Web Services account. The entitlement is set by the content 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.
-
ingestIp
The IP address that the flow will be listening on for incoming content.
- Parameters:
ingestIp
- The IP address 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.
-
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.
-
mediaStreamSourceConfigurations
Source.Builder mediaStreamSourceConfigurations(Collection<MediaStreamSourceConfiguration> 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
Source.Builder mediaStreamSourceConfigurations(MediaStreamSourceConfiguration... 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
Source.Builder mediaStreamSourceConfigurations(Consumer<MediaStreamSourceConfiguration.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 theMediaStreamSourceConfiguration.Builder
avoiding the need to create one manually viaMediaStreamSourceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomediaStreamSourceConfigurations(List<MediaStreamSourceConfiguration>)
.- Parameters:
mediaStreamSourceConfigurations
- a consumer that will call methods onMediaStreamSourceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
senderControlPort
The IP address that the flow communicates with to initiate connection with the sender.
- Parameters:
senderControlPort
- 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.
-
senderIpAddress
The port that the flow uses to send outbound requests to initiate connection with the sender.
- Parameters:
senderIpAddress
- 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.
-
sourceArn
The ARN of the source.
- Parameters:
sourceArn
- The ARN of the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transport
Attributes related to the transport stream that are used in the source.
- Parameters:
transport
- Attributes related to the transport stream that are used in the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transport
Attributes related to the transport stream that are used in the source.
This is a convenience method that creates an instance of theTransport.Builder
avoiding the need to create one manually viaTransport.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransport(Transport)
.- Parameters:
transport
- a consumer that will call methods onTransport.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcInterfaceName
The name of the VPC interface that is used for this source.
- Parameters:
vpcInterfaceName
- The name of the VPC interface that is used 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 Source.Builder gatewayBridgeSource(Consumer<GatewayBridgeSource.Builder> gatewayBridgeSource) The source configuration for cloud flows receiving a stream from a bridge.
This is a convenience method that creates an instance of theGatewayBridgeSource.Builder
avoiding the need to create one manually viaGatewayBridgeSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togatewayBridgeSource(GatewayBridgeSource)
.- Parameters:
gatewayBridgeSource
- a consumer that will call methods onGatewayBridgeSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
peerIpAddress
The IP address of the device that is currently sending content to this source.
-
For sources that use protocols where you specify the origin (such as SRT Caller), this value matches the configured origin address.
-
For sources that use listener protocols (such as SRT Listener or RTP), this value shows the address of the connected sender.
-
Peer IP addresses aren't available for entitlements and CDI/ST2110 sources.
-
The peer IP address might not be visible for flows that haven't been started yet, or flows that were started before May 2025. In these cases, restart your flow to see the peer IP address.
- Parameters:
peerIpAddress
- The IP address of the device that is currently sending content to this source.-
For sources that use protocols where you specify the origin (such as SRT Caller), this value matches the configured origin address.
-
For sources that use listener protocols (such as SRT Listener or RTP), this value shows the address of the connected sender.
-
Peer IP addresses aren't available for entitlements and CDI/ST2110 sources.
-
The peer IP address might not be visible for flows that haven't been started yet, or flows that were started before May 2025. In these cases, restart your flow to see the peer IP address.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-