@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.380Z") @Stability(value=Stable) public interface RepositoryNotifyOnOptions extends software.amazon.jsii.JsiiSerializable, NotificationRuleOptions
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codecommit.*;
import software.amazon.awscdk.services.codestarnotifications.*;
RepositoryNotifyOnOptions repositoryNotifyOnOptions = RepositoryNotifyOnOptions.builder()
.events(List.of(RepositoryNotificationEvents.COMMIT_COMMENT))
// the properties below are optional
.detailType(DetailType.BASIC)
.enabled(false)
.notificationRuleName("notificationRuleName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RepositoryNotifyOnOptions.Builder
A builder for
RepositoryNotifyOnOptions |
static class |
RepositoryNotifyOnOptions.Jsii$Proxy
An implementation for
RepositoryNotifyOnOptions |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryNotifyOnOptions.Builder |
builder() |
List<RepositoryNotificationEvents> |
getEvents()
A list of event types associated with this notification rule for CodeCommit repositories.
|
getDetailType, getEnabled, getNotificationRuleName@Stability(value=Stable) @NotNull List<RepositoryNotificationEvents> getEvents()
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
@Stability(value=Stable) static RepositoryNotifyOnOptions.Builder builder()
builder in interface NotificationRuleOptionsRepositoryNotifyOnOptions.Builder of RepositoryNotifyOnOptionsCopyright © 2022. All rights reserved.