public static interface DescribeNotificationRuleResponse.Builder extends CodestarNotificationsResponse.Builder, SdkPojo, CopyableBuilder<DescribeNotificationRuleResponse.Builder,DescribeNotificationRuleResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeNotificationRuleResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
DescribeNotificationRuleResponse.Builder |
createdBy(String createdBy)
The name or email alias of the person who created the notification rule.
|
DescribeNotificationRuleResponse.Builder |
createdTimestamp(Instant createdTimestamp)
The date and time the notification rule was created, in timestamp format.
|
DescribeNotificationRuleResponse.Builder |
detailType(DetailType detailType)
The level of detail included in the notifications for this resource.
|
DescribeNotificationRuleResponse.Builder |
detailType(String detailType)
The level of detail included in the notifications for this resource.
|
DescribeNotificationRuleResponse.Builder |
eventTypes(Collection<EventTypeSummary> eventTypes)
A list of the event types associated with the notification rule.
|
DescribeNotificationRuleResponse.Builder |
eventTypes(Consumer<EventTypeSummary.Builder>... eventTypes)
A list of the event types associated with the notification rule.
|
DescribeNotificationRuleResponse.Builder |
eventTypes(EventTypeSummary... eventTypes)
A list of the event types associated with the notification rule.
|
DescribeNotificationRuleResponse.Builder |
lastModifiedTimestamp(Instant lastModifiedTimestamp)
The date and time the notification rule was most recently updated, in timestamp format.
|
DescribeNotificationRuleResponse.Builder |
name(String name)
The name of the notification rule.
|
DescribeNotificationRuleResponse.Builder |
resource(String resource)
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
|
DescribeNotificationRuleResponse.Builder |
status(NotificationRuleStatus status)
The status of the notification rule.
|
DescribeNotificationRuleResponse.Builder |
status(String status)
The status of the notification rule.
|
DescribeNotificationRuleResponse.Builder |
tags(Map<String,String> tags)
The tags associated with the notification rule.
|
DescribeNotificationRuleResponse.Builder |
targets(Collection<TargetSummary> targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
|
DescribeNotificationRuleResponse.Builder |
targets(Consumer<TargetSummary.Builder>... targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
|
DescribeNotificationRuleResponse.Builder |
targets(TargetSummary... targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeNotificationRuleResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
arn - The Amazon Resource Name (ARN) of the notification rule.DescribeNotificationRuleResponse.Builder name(String name)
The name of the notification rule.
name - The name of the notification rule.DescribeNotificationRuleResponse.Builder eventTypes(Collection<EventTypeSummary> eventTypes)
A list of the event types associated with the notification rule.
eventTypes - A list of the event types associated with the notification rule.DescribeNotificationRuleResponse.Builder eventTypes(EventTypeSummary... eventTypes)
A list of the event types associated with the notification rule.
eventTypes - A list of the event types associated with the notification rule.DescribeNotificationRuleResponse.Builder eventTypes(Consumer<EventTypeSummary.Builder>... eventTypes)
A list of the event types associated with the notification rule.
This is a convenience method that creates an instance of theEventTypeSummary.Builder avoiding the
need to create one manually via
EventTypeSummary.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #eventTypes(List.
eventTypes - a consumer that will call methods on
EventTypeSummary.Builder#eventTypes(java.util.Collection) DescribeNotificationRuleResponse.Builder resource(String resource)
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
resource - The Amazon Resource Name (ARN) of the resource associated with the notification rule.DescribeNotificationRuleResponse.Builder targets(Collection<TargetSummary> targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
targets - A list of the Chatbot topics and Chatbot clients associated with the notification rule.DescribeNotificationRuleResponse.Builder targets(TargetSummary... targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
targets - A list of the Chatbot topics and Chatbot clients associated with the notification rule.DescribeNotificationRuleResponse.Builder targets(Consumer<TargetSummary.Builder>... targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
This is a convenience method that creates an instance of theTargetSummary.Builder avoiding the need
to create one manually via
TargetSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #targets(List.
targets - a consumer that will call methods on
TargetSummary.Builder#targets(java.util.Collection) DescribeNotificationRuleResponse.Builder detailType(String 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.
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.DetailType,
DetailTypeDescribeNotificationRuleResponse.Builder detailType(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.
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.DetailType,
DetailTypeDescribeNotificationRuleResponse.Builder createdBy(String createdBy)
The name or email alias of the person who created the notification rule.
createdBy - The name or email alias of the person who created the notification rule.DescribeNotificationRuleResponse.Builder status(String status)
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
status - The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending
notifications).NotificationRuleStatus,
NotificationRuleStatusDescribeNotificationRuleResponse.Builder status(NotificationRuleStatus status)
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
status - The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending
notifications).NotificationRuleStatus,
NotificationRuleStatusDescribeNotificationRuleResponse.Builder createdTimestamp(Instant createdTimestamp)
The date and time the notification rule was created, in timestamp format.
createdTimestamp - The date and time the notification rule was created, in timestamp format.DescribeNotificationRuleResponse.Builder lastModifiedTimestamp(Instant lastModifiedTimestamp)
The date and time the notification rule was most recently updated, in timestamp format.
lastModifiedTimestamp - The date and time the notification rule was most recently updated, in timestamp format.DescribeNotificationRuleResponse.Builder tags(Map<String,String> tags)
The tags associated with the notification rule.
tags - The tags associated with the notification rule.Copyright © 2023. All rights reserved.