@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Input extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Input() |
Modifier and Type | Method and Description |
---|---|
Input |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Input |
clearTagsEntries()
Removes all the entries added into Tags.
|
Input |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Unique ARN of the input (generated, immutable).
|
List<String> |
getAttachedChannels()
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
List<InputDestination> |
getDestinations()
A list of the destinations of the input (PUSH-type).
|
String |
getId()
The generated ID of the input (unique for user account, immutable).
|
String |
getInputClass()
STANDARD - MediaLive expects two sources to be connected to this input.
|
List<InputDeviceSettings> |
getInputDevices()
Settings for the input devices.
|
List<String> |
getInputPartnerIds()
A list of IDs for all Inputs which are partners of this one.
|
String |
getInputSourceType()
Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during
input switch actions.
|
List<MediaConnectFlow> |
getMediaConnectFlows()
A list of MediaConnect Flows for this input.
|
String |
getName()
The user-assigned name (This is a mutable value).
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
|
List<String> |
getSecurityGroups()
A list of IDs for all the Input Security Groups attached to the input.
|
List<InputSource> |
getSources()
A list of the sources of the input (PULL-type).
|
SrtSettings |
getSrtSettings()
The settings associated with an SRT input.
|
String |
getState() |
Map<String,String> |
getTags()
A collection of key-value pairs.
|
String |
getType() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Unique ARN of the input (generated, immutable).
|
void |
setAttachedChannels(Collection<String> attachedChannels)
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
void |
setDestinations(Collection<InputDestination> destinations)
A list of the destinations of the input (PUSH-type).
|
void |
setId(String id)
The generated ID of the input (unique for user account, immutable).
|
void |
setInputClass(String inputClass)
STANDARD - MediaLive expects two sources to be connected to this input.
|
void |
setInputDevices(Collection<InputDeviceSettings> inputDevices)
Settings for the input devices.
|
void |
setInputPartnerIds(Collection<String> inputPartnerIds)
A list of IDs for all Inputs which are partners of this one.
|
void |
setInputSourceType(String inputSourceType)
Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during
input switch actions.
|
void |
setMediaConnectFlows(Collection<MediaConnectFlow> mediaConnectFlows)
A list of MediaConnect Flows for this input.
|
void |
setName(String name)
The user-assigned name (This is a mutable value).
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
|
void |
setSecurityGroups(Collection<String> securityGroups)
A list of IDs for all the Input Security Groups attached to the input.
|
void |
setSources(Collection<InputSource> sources)
A list of the sources of the input (PULL-type).
|
void |
setSrtSettings(SrtSettings srtSettings)
The settings associated with an SRT input.
|
void |
setState(String state) |
void |
setTags(Map<String,String> tags)
A collection of key-value pairs.
|
void |
setType(String type) |
String |
toString()
Returns a string representation of this object.
|
Input |
withArn(String arn)
The Unique ARN of the input (generated, immutable).
|
Input |
withAttachedChannels(Collection<String> attachedChannels)
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
Input |
withAttachedChannels(String... attachedChannels)
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
Input |
withDestinations(Collection<InputDestination> destinations)
A list of the destinations of the input (PUSH-type).
|
Input |
withDestinations(InputDestination... destinations)
A list of the destinations of the input (PUSH-type).
|
Input |
withId(String id)
The generated ID of the input (unique for user account, immutable).
|
Input |
withInputClass(InputClass inputClass)
STANDARD - MediaLive expects two sources to be connected to this input.
|
Input |
withInputClass(String inputClass)
STANDARD - MediaLive expects two sources to be connected to this input.
|
Input |
withInputDevices(Collection<InputDeviceSettings> inputDevices)
Settings for the input devices.
|
Input |
withInputDevices(InputDeviceSettings... inputDevices)
Settings for the input devices.
|
Input |
withInputPartnerIds(Collection<String> inputPartnerIds)
A list of IDs for all Inputs which are partners of this one.
|
Input |
withInputPartnerIds(String... inputPartnerIds)
A list of IDs for all Inputs which are partners of this one.
|
Input |
withInputSourceType(InputSourceType inputSourceType)
Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during
input switch actions.
|
Input |
withInputSourceType(String inputSourceType)
Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes during
input switch actions.
|
Input |
withMediaConnectFlows(Collection<MediaConnectFlow> mediaConnectFlows)
A list of MediaConnect Flows for this input.
|
Input |
withMediaConnectFlows(MediaConnectFlow... mediaConnectFlows)
A list of MediaConnect Flows for this input.
|
Input |
withName(String name)
The user-assigned name (This is a mutable value).
|
Input |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
|
Input |
withSecurityGroups(Collection<String> securityGroups)
A list of IDs for all the Input Security Groups attached to the input.
|
Input |
withSecurityGroups(String... securityGroups)
A list of IDs for all the Input Security Groups attached to the input.
|
Input |
withSources(Collection<InputSource> sources)
A list of the sources of the input (PULL-type).
|
Input |
withSources(InputSource... sources)
A list of the sources of the input (PULL-type).
|
Input |
withSrtSettings(SrtSettings srtSettings)
The settings associated with an SRT input.
|
Input |
withState(InputState state) |
Input |
withState(String state) |
Input |
withTags(Map<String,String> tags)
A collection of key-value pairs.
|
Input |
withType(InputType type) |
Input |
withType(String type) |
public void setArn(String arn)
arn
- The Unique ARN of the input (generated, immutable).public String getArn()
public Input withArn(String arn)
arn
- The Unique ARN of the input (generated, immutable).public List<String> getAttachedChannels()
public void setAttachedChannels(Collection<String> attachedChannels)
attachedChannels
- A list of channel IDs that that input is attached to (currently an input can only be attached to one
channel).public Input withAttachedChannels(String... attachedChannels)
NOTE: This method appends the values to the existing list (if any). Use
setAttachedChannels(java.util.Collection)
or withAttachedChannels(java.util.Collection)
if you
want to override the existing values.
attachedChannels
- A list of channel IDs that that input is attached to (currently an input can only be attached to one
channel).public Input withAttachedChannels(Collection<String> attachedChannels)
attachedChannels
- A list of channel IDs that that input is attached to (currently an input can only be attached to one
channel).public List<InputDestination> getDestinations()
public void setDestinations(Collection<InputDestination> destinations)
destinations
- A list of the destinations of the input (PUSH-type).public Input withDestinations(InputDestination... destinations)
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- A list of the destinations of the input (PUSH-type).public Input withDestinations(Collection<InputDestination> destinations)
destinations
- A list of the destinations of the input (PUSH-type).public void setId(String id)
id
- The generated ID of the input (unique for user account, immutable).public String getId()
public Input withId(String id)
id
- The generated ID of the input (unique for user account, immutable).public void setInputClass(String 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.InputClass
public String getInputClass()
InputClass
public Input withInputClass(String 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.InputClass
public Input withInputClass(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.InputClass
public List<InputDeviceSettings> getInputDevices()
public void setInputDevices(Collection<InputDeviceSettings> inputDevices)
inputDevices
- Settings for the input devices.public Input withInputDevices(InputDeviceSettings... inputDevices)
NOTE: This method appends the values to the existing list (if any). Use
setInputDevices(java.util.Collection)
or withInputDevices(java.util.Collection)
if you want to
override the existing values.
inputDevices
- Settings for the input devices.public Input withInputDevices(Collection<InputDeviceSettings> inputDevices)
inputDevices
- Settings for the input devices.public List<String> getInputPartnerIds()
public void setInputPartnerIds(Collection<String> inputPartnerIds)
inputPartnerIds
- A list of IDs for all Inputs which are partners of this one.public Input withInputPartnerIds(String... inputPartnerIds)
NOTE: This method appends the values to the existing list (if any). Use
setInputPartnerIds(java.util.Collection)
or withInputPartnerIds(java.util.Collection)
if you
want to override the existing values.
inputPartnerIds
- A list of IDs for all Inputs which are partners of this one.public Input withInputPartnerIds(Collection<String> inputPartnerIds)
inputPartnerIds
- A list of IDs for all Inputs which are partners of this one.public void setInputSourceType(String 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.InputSourceType
public String getInputSourceType()
InputSourceType
public Input withInputSourceType(String 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.InputSourceType
public Input withInputSourceType(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.InputSourceType
public List<MediaConnectFlow> getMediaConnectFlows()
public void setMediaConnectFlows(Collection<MediaConnectFlow> mediaConnectFlows)
mediaConnectFlows
- A list of MediaConnect Flows for this input.public Input withMediaConnectFlows(MediaConnectFlow... mediaConnectFlows)
NOTE: This method appends the values to the existing list (if any). Use
setMediaConnectFlows(java.util.Collection)
or withMediaConnectFlows(java.util.Collection)
if
you want to override the existing values.
mediaConnectFlows
- A list of MediaConnect Flows for this input.public Input withMediaConnectFlows(Collection<MediaConnectFlow> mediaConnectFlows)
mediaConnectFlows
- A list of MediaConnect Flows for this input.public void setName(String name)
name
- The user-assigned name (This is a mutable value).public String getName()
public Input withName(String name)
name
- The user-assigned name (This is a mutable value).public void setRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of the role this input assumes during and after creation.public String getRoleArn()
public Input withRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of the role this input assumes during and after creation.public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- A list of IDs for all the Input Security Groups attached to the input.public Input withSecurityGroups(String... securityGroups)
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- A list of IDs for all the Input Security Groups attached to the input.public Input withSecurityGroups(Collection<String> securityGroups)
securityGroups
- A list of IDs for all the Input Security Groups attached to the input.public List<InputSource> getSources()
public void setSources(Collection<InputSource> sources)
sources
- A list of the sources of the input (PULL-type).public Input withSources(InputSource... sources)
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- A list of the sources of the input (PULL-type).public Input withSources(Collection<InputSource> sources)
sources
- A list of the sources of the input (PULL-type).public void setState(String state)
state
- InputState
public String getState()
InputState
public Input withState(String state)
state
- InputState
public Input withState(InputState state)
state
- InputState
public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public Input withTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public Input clearTagsEntries()
public Input withType(String type)
type
- InputType
public Input withType(InputType type)
type
- InputType
public void setSrtSettings(SrtSettings srtSettings)
srtSettings
- The settings associated with an SRT input.public SrtSettings getSrtSettings()
public Input withSrtSettings(SrtSettings srtSettings)
srtSettings
- The settings associated with an SRT input.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.