Class ReferenceEvent

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codecommit.ReferenceEvent
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.259Z") @Stability(Stable) public class ReferenceEvent extends software.amazon.jsii.JsiiObject
Fields of CloudWatch Events that change references.

See Also:
  • Nested Class Summary

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

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ReferenceEvent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ReferenceEvent(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Commit id this reference now points to.
    static String
    The type of reference event.
    static String
    Full reference name.
    static String
    Name of reference changed (branch or tag name).
    static String
    Type of reference changed.
    static String
    Id of the CodeCommit repository.
    static String
    Name of the CodeCommit repository.

    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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • ReferenceEvent

      protected ReferenceEvent(software.amazon.jsii.JsiiObjectRef objRef)
    • ReferenceEvent

      protected ReferenceEvent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • getCommitId

      @Stability(Stable) @NotNull public static String getCommitId()
      Commit id this reference now points to.
    • getEventType

      @Stability(Stable) @NotNull public static String getEventType()
      The type of reference event.

      'referenceCreated', 'referenceUpdated' or 'referenceDeleted'

    • getReferenceFullName

      @Stability(Stable) @NotNull public static String getReferenceFullName()
      Full reference name.

      For example, 'refs/tags/myTag'

    • getReferenceName

      @Stability(Stable) @NotNull public static String getReferenceName()
      Name of reference changed (branch or tag name).
    • getReferenceType

      @Stability(Stable) @NotNull public static String getReferenceType()
      Type of reference changed.

      'branch' or 'tag'

    • getRepositoryId

      @Stability(Stable) @NotNull public static String getRepositoryId()
      Id of the CodeCommit repository.
    • getRepositoryName

      @Stability(Stable) @NotNull public static String getRepositoryName()
      Name of the CodeCommit repository.