Interface Source.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Source.Builder,Source>, SdkBuilder<Source.Builder,Source>, SdkPojo
Enclosing class:
Source

@Mutable @NotThreadSafe public static interface Source.Builder extends SdkPojo, CopyableBuilder<Source.Builder,Source>
  • Method Details

    • dataTransferSubscriberFeePercent

      Source.Builder dataTransferSubscriberFeePercent(Integer 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

      Source.Builder decryption(Encryption 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

      default Source.Builder decryption(Consumer<Encryption.Builder> 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 the Encryption.Builder avoiding the need to create one manually via Encryption.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to decryption(Encryption).

      Parameters:
      decryption - a consumer that will call methods on Encryption.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      Source.Builder description(String 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

      Source.Builder entitlementArn(String 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

      Source.Builder ingestIp(String 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

      Source.Builder ingestPort(Integer 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 the MediaStreamSourceConfiguration.Builder avoiding the need to create one manually via MediaStreamSourceConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mediaStreamSourceConfigurations(List<MediaStreamSourceConfiguration>).

      Parameters:
      mediaStreamSourceConfigurations - a consumer that will call methods on MediaStreamSourceConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Source.Builder name(String 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

      Source.Builder senderControlPort(Integer 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

      Source.Builder senderIpAddress(String 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

      Source.Builder sourceArn(String 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

      Source.Builder transport(Transport 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

      default Source.Builder transport(Consumer<Transport.Builder> transport)

      Attributes related to the transport stream that are used in the source.

      This is a convenience method that creates an instance of the Transport.Builder avoiding the need to create one manually via Transport.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to transport(Transport).

      Parameters:
      transport - a consumer that will call methods on Transport.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcInterfaceName

      Source.Builder vpcInterfaceName(String 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

      Source.Builder whitelistCidr(String 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

      Source.Builder gatewayBridgeSource(GatewayBridgeSource 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 the GatewayBridgeSource.Builder avoiding the need to create one manually via GatewayBridgeSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to gatewayBridgeSource(GatewayBridgeSource).

      Parameters:
      gatewayBridgeSource - a consumer that will call methods on GatewayBridgeSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • peerIpAddress

      Source.Builder peerIpAddress(String 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.