Class TimeConversionOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.TimeConversionOptions.Jsii$Proxy
All Implemented Interfaces:
TimeConversionOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
TimeConversionOptions

@Stability(Stable) @Internal public static final class TimeConversionOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TimeConversionOptions
An implementation for TimeConversionOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(TimeConversionOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the TimeConversionOptions.Builder.
  • Method Details

    • getIntegral

      public final Boolean getIntegral()
      Description copied from interface: TimeConversionOptions
      If true, conversions into a larger time unit (e.g. Seconds to Minutes) will fail if the result is not an integer.

      Default: true

      Specified by:
      getIntegral in interface TimeConversionOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object