Interface CfnChannel.InputLossBehaviorProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnChannel.InputLossBehaviorProperty.Jsii$Proxy
Enclosing class:
CfnChannel

@Stability(Stable) public static interface CfnChannel.InputLossBehaviorProperty extends software.amazon.jsii.JsiiSerializable
The configuration of channel behavior when the input is lost.

The parent of this entity is GlobalConfiguration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.medialive.*;
 InputLossBehaviorProperty inputLossBehaviorProperty = InputLossBehaviorProperty.builder()
         .blackFrameMsec(123)
         .inputLossImageColor("inputLossImageColor")
         .inputLossImageSlate(InputLocationProperty.builder()
                 .passwordParam("passwordParam")
                 .uri("uri")
                 .username("username")
                 .build())
         .inputLossImageType("inputLossImageType")
         .repeatFrameMsec(123)
         .build();
 
  • Method Details

    • getBlackFrameMsec

      @Stability(Stable) @Nullable default Number getBlackFrameMsec()
      On input loss, the number of milliseconds to substitute black into the output before switching to the frame specified by inputLossImageType.

      A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000, is interpreted as infinite.

    • getInputLossImageColor

      @Stability(Stable) @Nullable default String getInputLossImageColor()
      When the input loss image type is "color," this field specifies the color to use.

      Value: 6 hex characters that represent the values of RGB.

    • getInputLossImageSlate

      @Stability(Stable) @Nullable default Object getInputLossImageSlate()
      When the input loss image type is "slate," these fields specify the parameters for accessing the slate.
    • getInputLossImageType

      @Stability(Stable) @Nullable default String getInputLossImageType()
      Indicates whether to substitute a solid color or a slate into the output after the input loss exceeds blackFrameMsec.
    • getRepeatFrameMsec

      @Stability(Stable) @Nullable default Number getRepeatFrameMsec()
      On input loss, the number of milliseconds to repeat the previous picture before substituting black into the output.

      A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000, is interpreted as infinite.

    • builder

      @Stability(Stable) static CfnChannel.InputLossBehaviorProperty.Builder builder()
      Returns:
      a CfnChannel.InputLossBehaviorProperty.Builder of CfnChannel.InputLossBehaviorProperty