Interface DescribeNotificationRuleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodestarNotificationsResponse.Builder,CopyableBuilder<DescribeNotificationRuleResponse.Builder,DescribeNotificationRuleResponse>,SdkBuilder<DescribeNotificationRuleResponse.Builder,DescribeNotificationRuleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeNotificationRuleResponse
public static interface DescribeNotificationRuleResponse.Builder extends CodestarNotificationsResponse.Builder, SdkPojo, CopyableBuilder<DescribeNotificationRuleResponse.Builder,DescribeNotificationRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeNotificationRuleResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the notification rule.DescribeNotificationRuleResponse.BuildercreatedBy(String createdBy)The name or email alias of the person who created the notification rule.DescribeNotificationRuleResponse.BuildercreatedTimestamp(Instant createdTimestamp)The date and time the notification rule was created, in timestamp format.DescribeNotificationRuleResponse.BuilderdetailType(String detailType)The level of detail included in the notifications for this resource.DescribeNotificationRuleResponse.BuilderdetailType(DetailType detailType)The level of detail included in the notifications for this resource.DescribeNotificationRuleResponse.BuildereventTypes(Collection<EventTypeSummary> eventTypes)A list of the event types associated with the notification rule.DescribeNotificationRuleResponse.BuildereventTypes(Consumer<EventTypeSummary.Builder>... eventTypes)A list of the event types associated with the notification rule.DescribeNotificationRuleResponse.BuildereventTypes(EventTypeSummary... eventTypes)A list of the event types associated with the notification rule.DescribeNotificationRuleResponse.BuilderlastModifiedTimestamp(Instant lastModifiedTimestamp)The date and time the notification rule was most recently updated, in timestamp format.DescribeNotificationRuleResponse.Buildername(String name)The name of the notification rule.DescribeNotificationRuleResponse.Builderresource(String resource)The Amazon Resource Name (ARN) of the resource associated with the notification rule.DescribeNotificationRuleResponse.Builderstatus(String status)The status of the notification rule.DescribeNotificationRuleResponse.Builderstatus(NotificationRuleStatus status)The status of the notification rule.DescribeNotificationRuleResponse.Buildertags(Map<String,String> tags)The tags associated with the notification rule.DescribeNotificationRuleResponse.Buildertargets(Collection<TargetSummary> targets)A list of the Chatbot topics and Chatbot clients associated with the notification rule.DescribeNotificationRuleResponse.Buildertargets(Consumer<TargetSummary.Builder>... targets)A list of the Chatbot topics and Chatbot clients associated with the notification rule.DescribeNotificationRuleResponse.Buildertargets(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 Detail
-
arn
DescribeNotificationRuleResponse.Builder arn(String 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
DescribeNotificationRuleResponse.Builder name(String 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
DescribeNotificationRuleResponse.Builder eventTypes(Collection<EventTypeSummary> 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(EventTypeSummary... 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.Builderavoiding the need to create one manually viaEventTypeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#eventTypes(List.) - 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:
#eventTypes(java.util.Collection)
-
resource
DescribeNotificationRuleResponse.Builder resource(String 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
DescribeNotificationRuleResponse.Builder targets(Collection<TargetSummary> 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
DescribeNotificationRuleResponse.Builder targets(TargetSummary... 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
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.Builderavoiding the need to create one manually viaTargetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targets(List.) - 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:
#targets(java.util.Collection)
-
detailType
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.
- 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,DetailType
-
detailType
DescribeNotificationRuleResponse.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.
- 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,DetailType
-
createdBy
DescribeNotificationRuleResponse.Builder createdBy(String 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
DescribeNotificationRuleResponse.Builder status(String 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:
NotificationRuleStatus,NotificationRuleStatus
-
status
DescribeNotificationRuleResponse.Builder status(NotificationRuleStatus 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:
NotificationRuleStatus,NotificationRuleStatus
-
createdTimestamp
DescribeNotificationRuleResponse.Builder createdTimestamp(Instant 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
DescribeNotificationRuleResponse.Builder lastModifiedTimestamp(Instant 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
DescribeNotificationRuleResponse.Builder tags(Map<String,String> 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.
-
-