Class CfnDetectorModel.SetTimerProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnDetectorModel.SetTimerProperty.Jsii$Proxy extends implements CfnDetectorModel.SetTimerProperty
An implementation for CfnDetectorModel.SetTimerProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      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
    • equals

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

      public final int hashCode()
      hashCode in class Object