Class TriggerTrigger


  • public final class TriggerTrigger
    extends java.lang.Object
    • Method Detail

      • branches

        public java.util.List<java.lang.String> branches()
        Returns:
        The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
      • customData

        public java.util.Optional<java.lang.String> customData()
        Returns:
        Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
      • destinationArn

        public java.lang.String destinationArn()
        Returns:
        The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
      • events

        public java.util.List<java.lang.String> events()
        Returns:
        The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`.
      • name

        public java.lang.String name()
        Returns:
        The name of the trigger.