* The Amazon Resource Name (ARN) of the notification rule. *
*/ private String arn; /** ** The name of the notification rule. *
*/ private String name; /** ** A list of the event types associated with the notification rule. *
*/ private java.util.List* The Amazon Resource Name (ARN) of the resource associated with the notification rule. *
*/ private String resource; /** ** A list of the Chatbot topics and Chatbot clients associated with the notification rule. *
*/ private java.util.List* The level of detail included in the notifications for this resource. 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. *
*/ private String detailType; /** ** The name or email alias of the person who created the notification rule. *
*/ private String createdBy; /** ** The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). *
*/ private String status; /** ** The date and time the notification rule was created, in timestamp format. *
*/ private java.util.Date createdTimestamp; /** ** The date and time the notification rule was most recently updated, in timestamp format. *
*/ private java.util.Date lastModifiedTimestamp; /** ** The tags associated with the notification rule. *
*/ private java.util.Map* The Amazon Resource Name (ARN) of the notification rule. *
* * @param arn * The Amazon Resource Name (ARN) of the notification rule. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the notification rule. *
* * @return The Amazon Resource Name (ARN) of the notification rule. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the notification rule. *
* * @param arn * The Amazon Resource Name (ARN) of the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withArn(String arn) { setArn(arn); return this; } /** ** The name of the notification rule. *
* * @param name * The name of the notification rule. */ public void setName(String name) { this.name = name; } /** ** The name of the notification rule. *
* * @return The name of the notification rule. */ public String getName() { return this.name; } /** ** The name of the notification rule. *
* * @param name * The name of the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withName(String name) { setName(name); return this; } /** ** A list of the event types associated with the notification rule. *
* * @return A list of the event types associated with the notification rule. */ public java.util.List* A list of the event types associated with the notification rule. *
* * @param eventTypes * A list of the event types associated with the notification rule. */ public void setEventTypes(java.util.Collection* A list of the event types associated with the notification rule. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEventTypes(java.util.Collection)} or {@link #withEventTypes(java.util.Collection)} if you want to * override the existing values. *
* * @param eventTypes * A list of the event types associated with the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withEventTypes(EventTypeSummary... eventTypes) { if (this.eventTypes == null) { setEventTypes(new java.util.ArrayList* A list of the event types associated with the notification rule. *
* * @param eventTypes * A list of the event types associated with the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withEventTypes(java.util.Collection* The Amazon Resource Name (ARN) of the resource associated with the notification rule. *
* * @param resource * The Amazon Resource Name (ARN) of the resource associated with the notification rule. */ public void setResource(String resource) { this.resource = resource; } /** ** The Amazon Resource Name (ARN) of the resource associated with the notification rule. *
* * @return The Amazon Resource Name (ARN) of the resource associated with the notification rule. */ public String getResource() { return this.resource; } /** ** The Amazon Resource Name (ARN) of the resource associated with the notification rule. *
* * @param resource * The Amazon Resource Name (ARN) of the resource associated with the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withResource(String resource) { setResource(resource); return this; } /** ** A list of the Chatbot topics and Chatbot clients associated with the notification rule. *
* * @return A list of the Chatbot topics and Chatbot clients associated with the notification rule. */ public java.util.List* A list of the Chatbot topics and Chatbot clients associated with the notification rule. *
* * @param targets * A list of the Chatbot topics and Chatbot clients associated with the notification rule. */ public void setTargets(java.util.Collection* A list of the Chatbot topics and Chatbot clients associated with the notification rule. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTargets(java.util.Collection)} or {@link #withTargets(java.util.Collection)} if you want to override * the existing values. *
* * @param targets * A list of the Chatbot topics and Chatbot clients associated with the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withTargets(TargetSummary... targets) { if (this.targets == null) { setTargets(new java.util.ArrayList* A list of the Chatbot topics and Chatbot clients associated with the notification rule. *
* * @param targets * A list of the Chatbot topics and Chatbot clients associated with the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withTargets(java.util.Collection* The level of detail included in the notifications for this resource. 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. *
* * @param detailType * The level of detail included in the notifications for this resource. 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. * @see DetailType */ public void setDetailType(String detailType) { this.detailType = detailType; } /** ** The level of detail included in the notifications for this resource. 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. *
* * @return The level of detail included in the notifications for this resource. 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. * @see DetailType */ public String getDetailType() { return this.detailType; } /** ** The level of detail included in the notifications for this resource. 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. *
* * @param detailType * The level of detail included in the notifications for this resource. 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. * @return Returns a reference to this object so that method calls can be chained together. * @see DetailType */ public DescribeNotificationRuleResult withDetailType(String detailType) { setDetailType(detailType); return this; } /** ** The level of detail included in the notifications for this resource. 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. *
* * @param detailType * The level of detail included in the notifications for this resource. 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. * @return Returns a reference to this object so that method calls can be chained together. * @see DetailType */ public DescribeNotificationRuleResult withDetailType(DetailType detailType) { this.detailType = detailType.toString(); return this; } /** ** The name or email alias of the person who created the notification rule. *
* * @param createdBy * The name or email alias of the person who created the notification rule. */ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } /** ** The name or email alias of the person who created the notification rule. *
* * @return The name or email alias of the person who created the notification rule. */ public String getCreatedBy() { return this.createdBy; } /** ** The name or email alias of the person who created the notification rule. *
* * @param createdBy * The name or email alias of the person who created the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withCreatedBy(String createdBy) { setCreatedBy(createdBy); return this; } /** ** The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). *
* * @param status * The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). * @see NotificationRuleStatus */ public void setStatus(String status) { this.status = status; } /** ** The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). *
* * @return The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). * @see NotificationRuleStatus */ public String getStatus() { return this.status; } /** ** The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). *
* * @param status * The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). * @return Returns a reference to this object so that method calls can be chained together. * @see NotificationRuleStatus */ public DescribeNotificationRuleResult withStatus(String status) { setStatus(status); return this; } /** ** The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). *
* * @param status * The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending * notifications). * @return Returns a reference to this object so that method calls can be chained together. * @see NotificationRuleStatus */ public DescribeNotificationRuleResult withStatus(NotificationRuleStatus status) { this.status = status.toString(); return this; } /** ** The date and time the notification rule was created, in timestamp format. *
* * @param createdTimestamp * The date and time the notification rule was created, in timestamp format. */ public void setCreatedTimestamp(java.util.Date createdTimestamp) { this.createdTimestamp = createdTimestamp; } /** ** The date and time the notification rule was created, in timestamp format. *
* * @return The date and time the notification rule was created, in timestamp format. */ public java.util.Date getCreatedTimestamp() { return this.createdTimestamp; } /** ** The date and time the notification rule was created, in timestamp format. *
* * @param createdTimestamp * The date and time the notification rule was created, in timestamp format. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withCreatedTimestamp(java.util.Date createdTimestamp) { setCreatedTimestamp(createdTimestamp); return this; } /** ** The date and time the notification rule was most recently updated, in timestamp format. *
* * @param lastModifiedTimestamp * The date and time the notification rule was most recently updated, in timestamp format. */ public void setLastModifiedTimestamp(java.util.Date lastModifiedTimestamp) { this.lastModifiedTimestamp = lastModifiedTimestamp; } /** ** The date and time the notification rule was most recently updated, in timestamp format. *
* * @return The date and time the notification rule was most recently updated, in timestamp format. */ public java.util.Date getLastModifiedTimestamp() { return this.lastModifiedTimestamp; } /** ** The date and time the notification rule was most recently updated, in timestamp format. *
* * @param lastModifiedTimestamp * The date and time the notification rule was most recently updated, in timestamp format. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withLastModifiedTimestamp(java.util.Date lastModifiedTimestamp) { setLastModifiedTimestamp(lastModifiedTimestamp); return this; } /** ** The tags associated with the notification rule. *
* * @return The tags associated with the notification rule. */ public java.util.Map* The tags associated with the notification rule. *
* * @param tags * The tags associated with the notification rule. */ public void setTags(java.util.Map* The tags associated with the notification rule. *
* * @param tags * The tags associated with the notification rule. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeNotificationRuleResult withTags(java.util.Map