@Stability(value=Stable) @Internal public static final class NotificationRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NotificationRuleProps
NotificationRulePropssoftware.amazon.jsii.JsiiObject.InitializationModeNotificationRuleProps.Builder, NotificationRuleProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(NotificationRuleProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
NotificationRuleProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
DetailType |
getDetailType()
The level of detail to include in the notifications for this resource.
|
Boolean |
getEnabled()
The status of the notification rule.
|
List<String> |
getEvents()
A list of event types associated with this notification rule.
|
String |
getNotificationRuleName()
The name for the notification rule.
|
INotificationRuleSource |
getSource()
The Amazon Resource Name (ARN) of the resource to associate with the notification rule.
|
List<INotificationRuleTarget> |
getTargets()
The targets to register for the notification destination.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(NotificationRuleProps.Builder builder)
NotificationRuleProps.Builder.public final List<String> getEvents()
NotificationRulePropsFor a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
getEvents in interface NotificationRulePropspublic final INotificationRuleSource getSource()
NotificationRulePropsCurrently, Supported sources include pipelines in AWS CodePipeline, build projects in AWS CodeBuild, and repositories in AWS CodeCommit in this L2 constructor.
public final List<INotificationRuleTarget> getTargets()
NotificationRulePropsDefault: - No targets are added to the rule. Use `addTarget()` to add a target.
getTargets in interface NotificationRulePropspublic final DetailType getDetailType()
NotificationRuleOptionsBASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
Default: DetailType.FULL
getDetailType in interface NotificationRuleOptionspublic final Boolean getEnabled()
NotificationRuleOptionsIf the enabled is set to DISABLED, notifications aren't sent for the notification rule.
Default: true
getEnabled in interface NotificationRuleOptionspublic final String getNotificationRuleName()
NotificationRuleOptionsNotification rule names must be unique in your AWS account.
Default: - generated from the `id`
getNotificationRuleName in interface NotificationRuleOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.