Class IntOrString

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-05T02:57:36.456Z")
    @Stability(Stable)
    public class IntOrString
    extends software.amazon.jsii.JsiiObject
    • Constructor Detail

      • IntOrString

        protected IntOrString​(software.amazon.jsii.JsiiObjectRef objRef)
      • IntOrString

        protected IntOrString​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Method Detail

      • fromNumber

        @Stability(Stable)
        @NotNull
        public static IntOrString fromNumber​(@NotNull
                                             Number value)
        Parameters:
        value - This parameter is required.
      • fromString

        @Stability(Stable)
        @NotNull
        public static IntOrString fromString​(@NotNull
                                             String value)
        Parameters:
        value - This parameter is required.
      • getValue

        @Stability(Stable)
        @NotNull
        public Object getValue()