@Stability(value=Experimental) public static final class RepositoryTriggerOptions.Builder extends Object implements software.amazon.jsii.Builder<RepositoryTriggerOptions>
RepositoryTriggerOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryTriggerOptions.Builder |
branches(List<String> branches)
Sets the value of
RepositoryTriggerOptions.getBranches() |
RepositoryTriggerOptions |
build()
Builds the configured instance.
|
RepositoryTriggerOptions.Builder |
customData(String customData)
Sets the value of
RepositoryTriggerOptions.getCustomData() |
RepositoryTriggerOptions.Builder |
events(List<? extends RepositoryEventTrigger> events)
Sets the value of
RepositoryTriggerOptions.getEvents() |
RepositoryTriggerOptions.Builder |
name(String name)
Sets the value of
RepositoryTriggerOptions.getName() |
@Stability(value=Experimental) public RepositoryTriggerOptions.Builder branches(List<String> branches)
RepositoryTriggerOptions.getBranches()branches - The names of the branches in the AWS CodeCommit repository that contain events that you want to include in the trigger.
If you don't specify at
least one branch, the trigger applies to all branches.this@Stability(value=Experimental) public RepositoryTriggerOptions.Builder customData(String customData)
RepositoryTriggerOptions.getCustomData()customData - When an event is triggered, additional information that AWS CodeCommit includes when it sends information to the target.this@Stability(value=Experimental) public RepositoryTriggerOptions.Builder events(List<? extends RepositoryEventTrigger> events)
RepositoryTriggerOptions.getEvents()events - The repository events for which AWS CodeCommit sends information to the target, which you specified in the DestinationArn property.If you don't specify events, the trigger runs for all repository events.this@Stability(value=Experimental) public RepositoryTriggerOptions.Builder name(String name)
RepositoryTriggerOptions.getName()name - A name for the trigger.Triggers on a repository must have unique names.this@Stability(value=Experimental) public RepositoryTriggerOptions build()
build in interface software.amazon.jsii.Builder<RepositoryTriggerOptions>RepositoryTriggerOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.