CopyableBuilder<RepositoryTrigger.Builder,RepositoryTrigger>, SdkBuilder<RepositoryTrigger.Builder,RepositoryTrigger>public static interface RepositoryTrigger.Builder extends CopyableBuilder<RepositoryTrigger.Builder,RepositoryTrigger>
| Modifier and Type | Method | Description |
|---|---|---|
RepositoryTrigger.Builder |
branches(String... branches) |
The branches that will be included in the trigger configuration.
|
RepositoryTrigger.Builder |
branches(Collection<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(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 |
events(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 |
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 |
name(String name) |
The name of the trigger.
|
copyapply, buildRepositoryTrigger.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 no branches are specified, the trigger will apply to all branches.
branches - The branches that will be included in the trigger configuration. If no branches are specified, the
trigger will apply to all branches.RepositoryTrigger.Builder branches(String... branches)
The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
NOTE: This method appends the values to the existing list (if any). Use
#setBranches(java.util.Collection) or #withBranches(java.util.Collection) if you want to
override the existing values.
branches - The branches that will be included in the trigger configuration. If no branches are specified, the
trigger will apply to all branches.RepositoryTrigger.Builder events(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.
RepositoryTriggerEventEnumRepositoryTrigger.Builder events(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.
NOTE: This method appends the values to the existing list (if any). Use
#setEvents(java.util.Collection) or #withEvents(java.util.Collection) if you want to override
the existing 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.
RepositoryTriggerEventEnumRepositoryTrigger.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.
NOTE: This method appends the values to the existing list (if any). Use
#setEvents(java.util.Collection) or #withEvents(java.util.Collection) if you want to override
the existing 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.
RepositoryTriggerEventEnumCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.