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 SummaryModifier 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 Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications clients associated with the notification rule.targets(Consumer<TargetSummary.Builder>... targets) A list of the Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications clients associated with the notification rule.targets(TargetSummary... targets) A list of the Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications clients associated with the notification rule.Methods inherited from interface software.amazon.awssdk.services.codestarnotifications.model.CodestarNotificationsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
arnThe 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.
 
- 
nameThe 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.
 
- 
eventTypesA 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.
 
- 
eventTypesA 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.
 
- 
eventTypesDescribeNotificationRuleResponse.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 toeventTypes(List<EventTypeSummary>).- Parameters:
- eventTypes- a consumer that will call methods on- EventTypeSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
resourceThe 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.
 
- 
targetsA list of the Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications clients associated with the notification rule. - Parameters:
- targets- A list of the Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications clients associated with the notification rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetsA list of the Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications clients associated with the notification rule. - Parameters:
- targets- A list of the Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications clients associated with the notification rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetsA list of the Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications 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 totargets(List<TargetSummary>).- Parameters:
- targets- a consumer that will call methods on- TargetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
detailTypeThe 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 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 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:
 
- 
detailTypeThe 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 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 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:
 
- 
createdByThe 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.
 
- 
statusThe 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:
 
- 
statusThe 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:
 
- 
createdTimestampThe 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.
 
- 
lastModifiedTimestampThe 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.
 
- 
tagsThe 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.
 
 
-