Class OnEventOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class OnEventOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OnEventOptions
An implementation for OnEventOptions
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.events.OnEventOptions

    OnEventOptions.Builder, OnEventOptions.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the OnEventOptions.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    A description of the rule's purpose.
    Additional restrictions for the event to route to the specified target.
    final String
    A name for the rule.
    The target to register for the event.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(OnEventOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the OnEventOptions.Builder.
  • Method Details

    • getDescription

      public final String getDescription()
      Description copied from interface: OnEventOptions
      A description of the rule's purpose.

      Default: - No description

      Specified by:
      getDescription in interface OnEventOptions
    • getEventPattern

      public final EventPattern getEventPattern()
      Description copied from interface: OnEventOptions
      Additional restrictions for the event to route to the specified target.

      The method that generates the rule probably imposes some type of event filtering. The filtering implied by what you pass here is added on top of that filtering.

      Default: - No additional filtering based on an event pattern.

      Specified by:
      getEventPattern in interface OnEventOptions
      See Also:
    • getRuleName

      public final String getRuleName()
      Description copied from interface: OnEventOptions
      A name for the rule.

      Default: AWS CloudFormation generates a unique physical ID.

      Specified by:
      getRuleName in interface OnEventOptions
    • getTarget

      public final IRuleTarget getTarget()
      Description copied from interface: OnEventOptions
      The target to register for the event.

      Default: - No target is added to the rule. Use `addTarget()` to add a target.

      Specified by:
      getTarget in interface OnEventOptions
    • $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