Class TriggerTriggerArgs.Builder

  • Enclosing class:
    TriggerTriggerArgs

    public static final class TriggerTriggerArgs.Builder
    extends java.lang.Object
    • Method Detail

      • branches

        public TriggerTriggerArgs.Builder branches​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> branches)
        Parameters:
        branches - The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
        Returns:
        builder
      • branches

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

        public TriggerTriggerArgs.Builder branches​(java.lang.String... branches)
        Parameters:
        branches - The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
        Returns:
        builder
      • customData

        public TriggerTriggerArgs.Builder customData​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> customData)
        Parameters:
        customData - Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
        Returns:
        builder
      • customData

        public TriggerTriggerArgs.Builder customData​(java.lang.String customData)
        Parameters:
        customData - Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
        Returns:
        builder
      • destinationArn

        public TriggerTriggerArgs.Builder destinationArn​(com.pulumi.core.Output<java.lang.String> destinationArn)
        Parameters:
        destinationArn - 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).
        Returns:
        builder
      • destinationArn

        public TriggerTriggerArgs.Builder destinationArn​(java.lang.String destinationArn)
        Parameters:
        destinationArn - 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).
        Returns:
        builder
      • events

        public TriggerTriggerArgs.Builder events​(com.pulumi.core.Output<java.util.List<java.lang.String>> events)
        Parameters:
        events - 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`.
        Returns:
        builder
      • events

        public TriggerTriggerArgs.Builder events​(java.util.List<java.lang.String> events)
        Parameters:
        events - 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`.
        Returns:
        builder
      • events

        public TriggerTriggerArgs.Builder events​(java.lang.String... events)
        Parameters:
        events - 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`.
        Returns:
        builder
      • name

        public TriggerTriggerArgs.Builder name​(com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the trigger.
        Returns:
        builder
      • name

        public TriggerTriggerArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the trigger.
        Returns:
        builder