Interface Input.Builder

    • Method Detail

      • arn

        Input.Builder arn​(String 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.
      • id

        Input.Builder id​(String 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, InputClass
      • 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:
        InputClass, InputClass
      • 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.
      • 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, InputSourceType
      • 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:
        InputSourceType, InputSourceType
      • 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.
      • 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

        Input.Builder sources​(Collection<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

        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.
      • 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:
        InputState, InputState
      • 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:
        InputState, InputState
      • tags

        Input.Builder tags​(Map<String,​String> 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:
        InputType, InputType
      • type

        Input.Builder type​(InputType 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:
        InputType, InputType