java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.GopSize
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.061Z") @Stability(Experimental) public class GopSize extends software.amazon.jsii.JsiiObject
(experimental) GOP size (keyframe interval). Use the static factory methods to specify in frames or seconds.

The value must be greater than zero. When expressed in frames it must be a whole number; when expressed in seconds it may be fractional.

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.alpha.*;
 GopSize gopSize = GopSize.frames(123);
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    GopSize(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    GopSize(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static GopSize
    frames(Number value)
    (experimental) GOP size in frames.
    static GopSize
    seconds(Number value)
    (experimental) GOP size in seconds.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • GopSize

      protected GopSize(software.amazon.jsii.JsiiObjectRef objRef)
    • GopSize

      protected GopSize(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • frames

      @Stability(Experimental) @NotNull public static GopSize frames(@NotNull Number value)
      (experimental) GOP size in frames.

      Must be a whole number.

      Parameters:
      value - This parameter is required.
    • seconds

      @Stability(Experimental) @NotNull public static GopSize seconds(@NotNull Number value)
      (experimental) GOP size in seconds.

      May be fractional (e.g. 1.5).

      Parameters:
      value - This parameter is required.