Interface DescribeNotificationRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodestarNotificationsResponse.Builder
,CopyableBuilder<DescribeNotificationRuleResponse.Builder,
,DescribeNotificationRuleResponse> SdkBuilder<DescribeNotificationRuleResponse.Builder,
,DescribeNotificationRuleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeNotificationRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the notification rule.The name or email alias of the person who created the notification rule.createdTimestamp
(Instant createdTimestamp) The date and time the notification rule was created, in timestamp format.detailType
(String detailType) The level of detail included in the notifications for this resource.detailType
(DetailType detailType) The level of detail included in the notifications for this resource.eventTypes
(Collection<EventTypeSummary> eventTypes) A list of the event types associated with the notification rule.eventTypes
(Consumer<EventTypeSummary.Builder>... eventTypes) A list of the event types associated with the notification rule.eventTypes
(EventTypeSummary... eventTypes) A list of the event types associated with the notification rule.lastModifiedTimestamp
(Instant lastModifiedTimestamp) The date and time the notification rule was most recently updated, in timestamp format.The name of the notification rule.The Amazon Resource Name (ARN) of the resource associated with the notification rule.The status of the notification rule.status
(NotificationRuleStatus status) The status of the notification rule.The tags associated with the notification rule.targets
(Collection<TargetSummary> targets) A list of the Chatbot topics and Chatbot clients associated with the notification rule.targets
(Consumer<TargetSummary.Builder>... targets) A list of the Chatbot topics and Chatbot clients associated with the notification rule.targets
(TargetSummary... targets) A list of the Chatbot topics and Chatbot clients associated with the notification rule.Methods inherited from interface software.amazon.awssdk.services.codestarnotifications.model.CodestarNotificationsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the notification rule.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the notification rule.
- Parameters:
name
- The name of the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypes
A list of the event types associated with the notification rule.
- Parameters:
eventTypes
- A list of the event types associated with the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypes
A list of the event types associated with the notification rule.
- Parameters:
eventTypes
- A list of the event types associated with the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypes
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 viaEventTypeSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventTypes(List<EventTypeSummary>)
.- Parameters:
eventTypes
- a consumer that will call methods onEventTypeSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resource
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
- Parameters:
resource
- The Amazon Resource Name (ARN) of the resource associated with the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
- Parameters:
targets
- A list of the Chatbot topics and Chatbot clients associated with the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
- Parameters:
targets
- A list of the Chatbot topics and Chatbot clients associated with the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTargetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(List<TargetSummary>)
.- Parameters:
targets
- a consumer that will call methods onTargetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdBy
The name or email alias of the person who created the notification rule.
- Parameters:
createdBy
- The name or email alias of the person who created the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
- Parameters:
status
- The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
- Parameters:
status
- The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The date and time the notification rule was created, in timestamp format.
- Parameters:
createdTimestamp
- The date and time the notification rule was created, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimestamp
The date and time the notification rule was most recently updated, in timestamp format.
- Parameters:
lastModifiedTimestamp
- The date and time the notification rule was most recently updated, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the notification rule.
- Parameters:
tags
- The tags associated with the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-