Interface Input.Builder

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

public static interface Input.Builder extends SdkPojo, CopyableBuilder<Input.Builder,Input>
  • Method Details

    • arn

      The Unique ARN of the input (generated, immutable).
      Parameters:
      arn - The Unique ARN of the input (generated, immutable).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachedChannels

      Input.Builder attachedChannels(Collection<String> attachedChannels)
      A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
      Parameters:
      attachedChannels - A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachedChannels

      Input.Builder attachedChannels(String... attachedChannels)
      A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
      Parameters:
      attachedChannels - A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      Input.Builder destinations(Collection<InputDestination> destinations)
      A list of the destinations of the input (PUSH-type).
      Parameters:
      destinations - A list of the destinations of the input (PUSH-type).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      Input.Builder destinations(InputDestination... destinations)
      A list of the destinations of the input (PUSH-type).
      Parameters:
      destinations - A list of the destinations of the input (PUSH-type).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      Input.Builder destinations(Consumer<InputDestination.Builder>... destinations)
      A list of the destinations of the input (PUSH-type). This is a convenience method that creates an instance of the InputDestination.Builder avoiding the need to create one manually via InputDestination.builder().

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

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

      The generated ID of the input (unique for user account, immutable).
      Parameters:
      id - The generated ID of the input (unique for user account, immutable).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputClass

      Input.Builder inputClass(String inputClass)
      STANDARD - MediaLive expects two sources to be connected to this input. If the channel is also STANDARD, both sources will be ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested; the second source will always be ignored, even if the first source fails. SINGLE_PIPELINE - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this value is not valid because the channel requires two sources in the input.
      Parameters:
      inputClass - STANDARD - MediaLive expects two sources to be connected to this input. If the channel is also STANDARD, both sources will be ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested; the second source will always be ignored, even if the first source fails. SINGLE_PIPELINE - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this value is not valid because the channel requires two sources in the input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputClass

      Input.Builder inputClass(InputClass inputClass)
      STANDARD - MediaLive expects two sources to be connected to this input. If the channel is also STANDARD, both sources will be ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested; the second source will always be ignored, even if the first source fails. SINGLE_PIPELINE - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this value is not valid because the channel requires two sources in the input.
      Parameters:
      inputClass - STANDARD - MediaLive expects two sources to be connected to this input. If the channel is also STANDARD, both sources will be ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested; the second source will always be ignored, even if the first source fails. SINGLE_PIPELINE - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this value is not valid because the channel requires two sources in the input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputDevices

      Input.Builder inputDevices(Collection<InputDeviceSettings> inputDevices)
      Settings for the input devices.
      Parameters:
      inputDevices - Settings for the input devices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputDevices

      Input.Builder inputDevices(InputDeviceSettings... inputDevices)
      Settings for the input devices.
      Parameters:
      inputDevices - Settings for the input devices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputDevices

      Input.Builder inputDevices(Consumer<InputDeviceSettings.Builder>... inputDevices)
      Settings for the input devices. This is a convenience method that creates an instance of the InputDeviceSettings.Builder avoiding the need to create one manually via InputDeviceSettings.builder() .

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

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

      Input.Builder inputPartnerIds(Collection<String> inputPartnerIds)
      A list of IDs for all Inputs which are partners of this one.
      Parameters:
      inputPartnerIds - A list of IDs for all Inputs which are partners of this one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputPartnerIds

      Input.Builder inputPartnerIds(String... inputPartnerIds)
      A list of IDs for all Inputs which are partners of this one.
      Parameters:
      inputPartnerIds - A list of IDs for all Inputs which are partners of this one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputSourceType

      Input.Builder inputSourceType(String inputSourceType)
      Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
      Parameters:
      inputSourceType - Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputSourceType

      Input.Builder inputSourceType(InputSourceType inputSourceType)
      Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
      Parameters:
      inputSourceType - Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mediaConnectFlows

      Input.Builder mediaConnectFlows(Collection<MediaConnectFlow> mediaConnectFlows)
      A list of MediaConnect Flows for this input.
      Parameters:
      mediaConnectFlows - A list of MediaConnect Flows for this input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaConnectFlows

      Input.Builder mediaConnectFlows(MediaConnectFlow... mediaConnectFlows)
      A list of MediaConnect Flows for this input.
      Parameters:
      mediaConnectFlows - A list of MediaConnect Flows for this input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaConnectFlows

      Input.Builder mediaConnectFlows(Consumer<MediaConnectFlow.Builder>... mediaConnectFlows)
      A list of MediaConnect Flows for this input. This is a convenience method that creates an instance of the MediaConnectFlow.Builder avoiding the need to create one manually via MediaConnectFlow.builder().

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

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

      Input.Builder name(String name)
      The user-assigned name (This is a mutable value).
      Parameters:
      name - The user-assigned name (This is a mutable value).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      Input.Builder roleArn(String roleArn)
      The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      Input.Builder securityGroups(Collection<String> securityGroups)
      A list of IDs for all the Input Security Groups attached to the input.
      Parameters:
      securityGroups - A list of IDs for all the Input Security Groups attached to the input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      Input.Builder securityGroups(String... securityGroups)
      A list of IDs for all the Input Security Groups attached to the input.
      Parameters:
      securityGroups - A list of IDs for all the Input Security Groups attached to the input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      A list of the sources of the input (PULL-type).
      Parameters:
      sources - A list of the sources of the input (PULL-type).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      Input.Builder sources(InputSource... sources)
      A list of the sources of the input (PULL-type).
      Parameters:
      sources - A list of the sources of the input (PULL-type).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      A list of the sources of the input (PULL-type). This is a convenience method that creates an instance of the InputSource.Builder avoiding the need to create one manually via InputSource.builder().

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

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

      Input.Builder state(String state)
      Sets the value of the State property for this object.
      Parameters:
      state - The new value for the State property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Input.Builder state(InputState state)
      Sets the value of the State property for this object.
      Parameters:
      state - The new value for the State property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      A collection of key-value pairs.
      Parameters:
      tags - A collection of key-value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Input.Builder type(String type)
      Sets the value of the Type property for this object.
      Parameters:
      type - The new value for the Type property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Sets the value of the Type property for this object.
      Parameters:
      type - The new value for the Type property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: