Interface GlobalConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GlobalConfiguration.Builder,
,GlobalConfiguration> SdkBuilder<GlobalConfiguration.Builder,
,GlobalConfiguration> SdkPojo
- Enclosing class:
GlobalConfiguration
public static interface GlobalConfiguration.Builder
extends SdkPojo, CopyableBuilder<GlobalConfiguration.Builder,GlobalConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioninitialAudioGain
(Integer initialAudioGain) Value to set the initial audio gain for the Live Event.inputEndAction
(String inputEndAction) Indicates the action to take when the current input completes (e.g.inputEndAction
(GlobalConfigurationInputEndAction inputEndAction) Indicates the action to take when the current input completes (e.g.default GlobalConfiguration.Builder
inputLossBehavior
(Consumer<InputLossBehavior.Builder> inputLossBehavior) Settings for system actions when input is lost.inputLossBehavior
(InputLossBehavior inputLossBehavior) Settings for system actions when input is lost.outputLockingMode
(String outputLockingMode) Indicates how MediaLive pipelines are synchronized.outputLockingMode
(GlobalConfigurationOutputLockingMode outputLockingMode) Indicates how MediaLive pipelines are synchronized.default GlobalConfiguration.Builder
outputLockingSettings
(Consumer<OutputLockingSettings.Builder> outputLockingSettings) Advanced output locking settings This is a convenience method that creates an instance of theOutputLockingSettings.Builder
avoiding the need to create one manually viaOutputLockingSettings.builder()
.outputLockingSettings
(OutputLockingSettings outputLockingSettings) Advanced output locking settingsoutputTimingSource
(String outputTimingSource) Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.outputTimingSource
(GlobalConfigurationOutputTimingSource outputTimingSource) Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.supportLowFramerateInputs
(String supportLowFramerateInputs) Adjusts video input buffer for streams with very low video framerates.supportLowFramerateInputs
(GlobalConfigurationLowFramerateInputs supportLowFramerateInputs) Adjusts video input buffer for streams with very low video framerates.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
initialAudioGain
Value to set the initial audio gain for the Live Event.- Parameters:
initialAudioGain
- Value to set the initial audio gain for the Live Event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputEndAction
Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).- Parameters:
inputEndAction
- Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputEndAction
Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).- Parameters:
inputEndAction
- Indicates the action to take when the current input completes (e.g. end-of-file). When switchAndLoopInputs is configured the encoder will restart at the beginning of the first input. When "none" is configured the encoder will transcode either black, a solid color, or a user specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputLossBehavior
Settings for system actions when input is lost.- Parameters:
inputLossBehavior
- Settings for system actions when input is lost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputLossBehavior
default GlobalConfiguration.Builder inputLossBehavior(Consumer<InputLossBehavior.Builder> inputLossBehavior) Settings for system actions when input is lost. This is a convenience method that creates an instance of theInputLossBehavior.Builder
avoiding the need to create one manually viaInputLossBehavior.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputLossBehavior(InputLossBehavior)
.- Parameters:
inputLossBehavior
- a consumer that will call methods onInputLossBehavior.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputLockingMode
Indicates how MediaLive pipelines are synchronized. PIPELINE_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other. EPOCH_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.- Parameters:
outputLockingMode
- Indicates how MediaLive pipelines are synchronized. PIPELINE_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other. EPOCH_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputLockingMode
GlobalConfiguration.Builder outputLockingMode(GlobalConfigurationOutputLockingMode outputLockingMode) Indicates how MediaLive pipelines are synchronized. PIPELINE_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other. EPOCH_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.- Parameters:
outputLockingMode
- Indicates how MediaLive pipelines are synchronized. PIPELINE_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the other. EPOCH_LOCKING - MediaLive will attempt to synchronize the output of each pipeline to the Unix epoch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputTimingSource
Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.- Parameters:
outputTimingSource
- Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputTimingSource
GlobalConfiguration.Builder outputTimingSource(GlobalConfigurationOutputTimingSource outputTimingSource) Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.- Parameters:
outputTimingSource
- Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally may be locked to another source via NTP) or should be locked to the clock of the source that is providing the input stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportLowFramerateInputs
Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.- Parameters:
supportLowFramerateInputs
- Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportLowFramerateInputs
GlobalConfiguration.Builder supportLowFramerateInputs(GlobalConfigurationLowFramerateInputs supportLowFramerateInputs) Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.- Parameters:
supportLowFramerateInputs
- Adjusts video input buffer for streams with very low video framerates. This is commonly set to enabled for music channels with less than one video frame per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputLockingSettings
Advanced output locking settings- Parameters:
outputLockingSettings
- Advanced output locking settings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLockingSettings
default GlobalConfiguration.Builder outputLockingSettings(Consumer<OutputLockingSettings.Builder> outputLockingSettings) Advanced output locking settings This is a convenience method that creates an instance of theOutputLockingSettings.Builder
avoiding the need to create one manually viaOutputLockingSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputLockingSettings(OutputLockingSettings)
.- Parameters:
outputLockingSettings
- a consumer that will call methods onOutputLockingSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-