public static interface RepositoryTrigger.Builder extends SdkPojo, CopyableBuilder<RepositoryTrigger.Builder,RepositoryTrigger>
| Modifier and Type | Method and Description |
|---|---|
RepositoryTrigger.Builder |
branches(Collection<String> branches)
The branches to be included in the trigger configuration.
|
RepositoryTrigger.Builder |
branches(String... branches)
The branches to be included in the trigger configuration.
|
RepositoryTrigger.Builder |
customData(String customData)
Any custom data associated with the trigger to 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 (for example, the ARN of a topic in Amazon SNS).
|
RepositoryTrigger.Builder |
events(Collection<RepositoryTriggerEventEnum> events)
The repository events that cause the trigger to run actions in another service, such as sending a
notification through Amazon SNS.
|
RepositoryTrigger.Builder |
events(RepositoryTriggerEventEnum... events)
The repository events that cause the trigger to run actions in another service, such as sending a
notification through Amazon SNS.
|
RepositoryTrigger.Builder |
eventsWithStrings(Collection<String> events)
The repository events that cause the trigger to run actions in another service, such as sending a
notification through Amazon SNS.
|
RepositoryTrigger.Builder |
eventsWithStrings(String... events)
The repository events that cause the trigger to run actions in another service, such as sending a
notification through Amazon SNS.
|
RepositoryTrigger.Builder |
name(String name)
The name of the trigger.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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 SNS).
destinationArn - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon
SNS).RepositoryTrigger.Builder customData(String customData)
Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
customData - Any custom data associated with the trigger to be included in the information sent to the target of
the trigger.RepositoryTrigger.Builder branches(Collection<String> branches)
The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
Although no content is required in the array, you must include the array itself.
branches - The branches to be included in the trigger configuration. If you specify an empty array, the trigger
applies to all branches. Although no content is required in the array, you must include the array itself.
RepositoryTrigger.Builder branches(String... branches)
The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.
Although no content is required in the array, you must include the array itself.
branches - The branches to be included in the trigger configuration. If you specify an empty array, the trigger
applies to all branches. Although no content is required in the array, you must include the array itself.
RepositoryTrigger.Builder eventsWithStrings(Collection<String> events)
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
The valid value "all" cannot be used with any other values.
events - The repository events that cause the trigger to run actions in another service, such as sending a
notification through Amazon SNS. The valid value "all" cannot be used with any other values.
RepositoryTrigger.Builder eventsWithStrings(String... events)
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
The valid value "all" cannot be used with any other values.
events - The repository events that cause the trigger to run actions in another service, such as sending a
notification through Amazon SNS. The valid value "all" cannot be used with any other values.
RepositoryTrigger.Builder events(Collection<RepositoryTriggerEventEnum> events)
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
The valid value "all" cannot be used with any other values.
events - The repository events that cause the trigger to run actions in another service, such as sending a
notification through Amazon SNS. The valid value "all" cannot be used with any other values.
RepositoryTrigger.Builder events(RepositoryTriggerEventEnum... events)
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.
The valid value "all" cannot be used with any other values.
events - The repository events that cause the trigger to run actions in another service, such as sending a
notification through Amazon SNS. The valid value "all" cannot be used with any other values.
Copyright © 2020. All rights reserved.