Class CfnDetectorModel.SetTimerProperty.Jsii$Proxy

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

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

    • getTimerName

      public final String getTimerName()
      Description copied from interface: CfnDetectorModel.SetTimerProperty
      The name of the timer.
      Specified by:
      getTimerName in interface CfnDetectorModel.SetTimerProperty
    • getDurationExpression

      public final String getDurationExpression()
      Description copied from interface: CfnDetectorModel.SetTimerProperty
      The duration of the timer, in seconds.

      You can use a string expression that includes numbers, variables ( $variable.<variable-name> ), and input values ( $input.<input-name>.<path-to-datum> ) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.

      Specified by:
      getDurationExpression in interface CfnDetectorModel.SetTimerProperty
    • getSeconds

      public final Number getSeconds()
      Description copied from interface: CfnDetectorModel.SetTimerProperty
      The number of seconds until the timer expires.

      The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.

      Specified by:
      getSeconds in interface CfnDetectorModel.SetTimerProperty
    • $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