@Stability(value=Stable) public static final class CfnRepository.RepositoryTriggerProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRepository.RepositoryTriggerProperty>
CfnRepository.RepositoryTriggerProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRepository.RepositoryTriggerProperty.Builder |
branches(List<String> branches)
Sets the value of
CfnRepository.RepositoryTriggerProperty.getBranches() |
CfnRepository.RepositoryTriggerProperty |
build()
Builds the configured instance.
|
CfnRepository.RepositoryTriggerProperty.Builder |
customData(String customData)
Sets the value of
CfnRepository.RepositoryTriggerProperty.getCustomData() |
CfnRepository.RepositoryTriggerProperty.Builder |
destinationArn(String destinationArn)
Sets the value of
CfnRepository.RepositoryTriggerProperty.getDestinationArn() |
CfnRepository.RepositoryTriggerProperty.Builder |
events(List<String> events)
Sets the value of
CfnRepository.RepositoryTriggerProperty.getEvents() |
CfnRepository.RepositoryTriggerProperty.Builder |
name(String name)
Sets the value of
CfnRepository.RepositoryTriggerProperty.getName() |
@Stability(value=Stable) public CfnRepository.RepositoryTriggerProperty.Builder destinationArn(String destinationArn)
CfnRepository.RepositoryTriggerProperty.getDestinationArn()destinationArn - The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS). This parameter is required.this@Stability(value=Stable) public CfnRepository.RepositoryTriggerProperty.Builder events(List<String> events)
CfnRepository.RepositoryTriggerProperty.getEvents()events - The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. This parameter is required.
The valid value "all" cannot be used with any other values.
this@Stability(value=Stable) public CfnRepository.RepositoryTriggerProperty.Builder name(String name)
CfnRepository.RepositoryTriggerProperty.getName()name - The name of the trigger. This parameter is required.this@Stability(value=Stable) public CfnRepository.RepositoryTriggerProperty.Builder branches(List<String> branches)
CfnRepository.RepositoryTriggerProperty.getBranches()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.
this@Stability(value=Stable) public CfnRepository.RepositoryTriggerProperty.Builder customData(String customData)
CfnRepository.RepositoryTriggerProperty.getCustomData()customData - Any custom data associated with the trigger to be included in the information sent to the target of the trigger.this@Stability(value=Stable) public CfnRepository.RepositoryTriggerProperty build()
build in interface software.amazon.jsii.Builder<CfnRepository.RepositoryTriggerProperty>CfnRepository.RepositoryTriggerPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.