public static interface RepositoryTrigger.Builder extends CopyableBuilder<RepositoryTrigger.Builder,RepositoryTrigger>
Modifier and Type | Method and Description |
---|---|
RepositoryTrigger.Builder |
branches(Collection<String> branches)
The branches that will be included in the trigger configuration.
|
RepositoryTrigger.Builder |
branches(String... branches)
The branches that will be included in the trigger configuration.
|
RepositoryTrigger.Builder |
customData(String customData)
Any custom data associated with the trigger that will be included in the information sent to the target of
the trigger.
|
RepositoryTrigger.Builder |
destinationArn(String destinationArn)
The ARN of the resource that is the target for a trigger.
|
RepositoryTrigger.Builder |
events(Collection<RepositoryTriggerEventEnum> 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).
|
RepositoryTrigger.Builder |
events(RepositoryTriggerEventEnum... 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).
|
RepositoryTrigger.Builder |
eventsWithStrings(Collection<String> 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).
|
RepositoryTrigger.Builder |
eventsWithStrings(String... 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).
|
RepositoryTrigger.Builder |
name(String name)
The name of the trigger.
|
copy
applyMutation, build
RepositoryTrigger.Builder name(String name)
The name of the trigger.
name
- The name of the trigger.RepositoryTrigger.Builder destinationArn(String 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).
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).RepositoryTrigger.Builder customData(String customData)
Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
customData
- Any custom data associated with the trigger that will be included in the information sent to the
target of the trigger.RepositoryTrigger.Builder branches(Collection<String> branches)
The branches that will be included in the trigger configuration. If you specify an empty array, the trigger will apply to all branches.
While no content is required in the array, you must include the array itself.
branches
- The branches that will be included in the trigger configuration. If you specify an empty array, the
trigger will apply to all branches. While no content is required in the array, you must include the array itself.
RepositoryTrigger.Builder branches(String... branches)
The branches that will be included in the trigger configuration. If you specify an empty array, the trigger will apply to all branches.
While no content is required in the array, you must include the array itself.
branches
- The branches that will be included in the trigger configuration. If you specify an empty array, the
trigger will apply to all branches. While no content is required in the array, you must include the array itself.
RepositoryTrigger.Builder eventsWithStrings(Collection<String> 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).
The valid value "all" cannot be used with any other values.
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). The valid value "all" cannot be used with any other values.
RepositoryTrigger.Builder eventsWithStrings(String... 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).
The valid value "all" cannot be used with any other values.
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). The valid value "all" cannot be used with any other values.
RepositoryTrigger.Builder events(Collection<RepositoryTriggerEventEnum> 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).
The valid value "all" cannot be used with any other values.
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). The valid value "all" cannot be used with any other values.
RepositoryTrigger.Builder events(RepositoryTriggerEventEnum... 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).
The valid value "all" cannot be used with any other values.
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). The valid value "all" cannot be used with any other values.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.