@Stability(value=Stable) public static final class CfnNotificationRuleProps.Builder extends Object implements software.amazon.jsii.Builder<CfnNotificationRuleProps>
CfnNotificationRuleProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnNotificationRuleProps.Builder detailType(String detailType)
CfnNotificationRuleProps.getDetailType()detailType - The level of detail to include in the notifications for this resource. This parameter is required.
BASIC will include only the contents of the event as it would appear in Amazon 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.this@Stability(value=Stable) public CfnNotificationRuleProps.Builder eventTypeIds(List<String> eventTypeIds)
CfnNotificationRuleProps.getEventTypeIds()eventTypeIds - A list of event types associated with this notification rule. This parameter is required.
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide .this@Stability(value=Stable) public CfnNotificationRuleProps.Builder name(String name)
CfnNotificationRuleProps.getName()name - The name for the notification rule. This parameter is required.
Notification rule names must be unique in your AWS account .this@Stability(value=Stable) public CfnNotificationRuleProps.Builder resource(String resource)
CfnNotificationRuleProps.getResource()resource - The Amazon Resource Name (ARN) of the resource to associate with the notification rule. This parameter is required.
Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild .this@Stability(value=Stable) public CfnNotificationRuleProps.Builder targets(IResolvable targets)
CfnNotificationRuleProps.getTargets()targets - A list of Amazon Resource Names (ARNs) of AWS Chatbot topics and AWS Chatbot clients to associate with the notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRuleProps.Builder targets(List<? extends Object> targets)
CfnNotificationRuleProps.getTargets()targets - A list of Amazon Resource Names (ARNs) of AWS Chatbot topics and AWS Chatbot clients to associate with the notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRuleProps.Builder createdBy(String createdBy)
CfnNotificationRuleProps.getCreatedBy()createdBy - `AWS::CodeStarNotifications::NotificationRule.CreatedBy`.this@Stability(value=Stable) public CfnNotificationRuleProps.Builder eventTypeId(String eventTypeId)
CfnNotificationRuleProps.getEventTypeId()eventTypeId - `AWS::CodeStarNotifications::NotificationRule.EventTypeId`.this@Stability(value=Stable) public CfnNotificationRuleProps.Builder status(String status)
CfnNotificationRuleProps.getStatus()status - The status of the notification rule.
The default value is ENABLED . If the status is set to DISABLED , notifications aren't sent for the notification rule.this@Stability(value=Stable) public CfnNotificationRuleProps.Builder tags(Object tags)
CfnNotificationRuleProps.getTags()tags - A list of tags to apply to this notification rule.
Key names cannot start with " aws ".this@Stability(value=Stable) public CfnNotificationRuleProps.Builder targetAddress(String targetAddress)
CfnNotificationRuleProps.getTargetAddress()targetAddress - `AWS::CodeStarNotifications::NotificationRule.TargetAddress`.this@Stability(value=Stable) public CfnNotificationRuleProps build()
build in interface software.amazon.jsii.Builder<CfnNotificationRuleProps>CfnNotificationRulePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.