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 Details

    • decryption

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

      default SetSourceRequest.Builder decryption(Consumer<Encryption.Builder> 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 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

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

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

      SetSourceRequest.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.
    • maxBitrate

      SetSourceRequest.Builder maxBitrate(Integer 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

      SetSourceRequest.Builder maxLatency(Integer 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

      SetSourceRequest.Builder maxSyncBuffer(Integer 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 the MediaStreamSourceConfigurationRequest.Builder avoiding the need to create one manually via MediaStreamSourceConfigurationRequest.builder().

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

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

      SetSourceRequest.Builder minLatency(Integer 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

      SetSourceRequest.Builder protocol(String 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

      SetSourceRequest.Builder protocol(Protocol 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

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

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

      SetSourceRequest.Builder sourceListenerAddress(String 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

      SetSourceRequest.Builder sourceListenerPort(Integer 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

      SetSourceRequest.Builder streamId(String 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

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

      SetSourceRequest.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

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

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

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