Class SizeConversionOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class SizeConversionOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SizeConversionOptions
An implementation for SizeConversionOptions
  • 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(SizeConversionOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SizeConversionOptions.Builder.
  • Method Details

    • getRounding

      public final SizeRoundingBehavior getRounding()
      Description copied from interface: SizeConversionOptions
      How conversions should behave when it encounters a non-integer result.

      Default: SizeRoundingBehavior.FAIL

      Specified by:
      getRounding in interface SizeConversionOptions
    • $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