Class OnCommitOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class OnCommitOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OnCommitOptions
An implementation for OnCommitOptions
  • 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.codecommit.OnCommitOptions

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the OnCommitOptions.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 List<String>
    The branch to monitor.
    final software.constructs.Construct
    The scope to use if the source of the rule and its target are in different Stacks (but in the same account & region).
    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(OnCommitOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the OnCommitOptions.Builder.
  • Method Details

    • getBranches

      public final List<String> getBranches()
      Description copied from interface: OnCommitOptions
      The branch to monitor.

      Default: - All branches

      Specified by:
      getBranches in interface OnCommitOptions
    • 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
    • getCrossStackScope

      public final software.constructs.Construct getCrossStackScope()
      Description copied from interface: EventCommonOptions
      The scope to use if the source of the rule and its target are in different Stacks (but in the same account & region).

      This helps dealing with cycles that often arise in these situations.

      Default: - none (the main scope will be used, even for cross-stack Events)

      Specified by:
      getCrossStackScope in interface EventCommonOptions
    • getDescription

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

      Default: - No description

      Specified by:
      getDescription in interface EventCommonOptions
    • getEventPattern

      public final EventPattern getEventPattern()
      Description copied from interface: EventCommonOptions
      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 EventCommonOptions
      See Also:
    • getRuleName

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

      Default: AWS CloudFormation generates a unique physical ID.

      Specified by:
      getRuleName in interface EventCommonOptions
    • $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