Class IntOrString

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

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-07-08T00:25:14.422Z")
    @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()