Interface ListNotificationRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodestarNotificationsResponse.Builder
,CopyableBuilder<ListNotificationRulesResponse.Builder,
,ListNotificationRulesResponse> SdkBuilder<ListNotificationRulesResponse.Builder,
,ListNotificationRulesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNotificationRulesResponse
public static interface ListNotificationRulesResponse.Builder
extends CodestarNotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationRulesResponse.Builder,ListNotificationRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn enumeration token that can be used in a request to return the next batch of the results.notificationRules
(Collection<NotificationRuleSummary> notificationRules) The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.notificationRules
(Consumer<NotificationRuleSummary.Builder>... notificationRules) The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.notificationRules
(NotificationRuleSummary... notificationRules) The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.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
-
nextToken
An enumeration token that can be used in a request to return the next batch of the results.
- Parameters:
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationRules
ListNotificationRulesResponse.Builder notificationRules(Collection<NotificationRuleSummary> notificationRules) The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
- Parameters:
notificationRules
- The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationRules
ListNotificationRulesResponse.Builder notificationRules(NotificationRuleSummary... notificationRules) The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
- Parameters:
notificationRules
- The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationRules
ListNotificationRulesResponse.Builder notificationRules(Consumer<NotificationRuleSummary.Builder>... notificationRules) The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
This is a convenience method that creates an instance of theNotificationRuleSummary.Builder
avoiding the need to create one manually viaNotificationRuleSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationRules(List<NotificationRuleSummary>)
.- Parameters:
notificationRules
- a consumer that will call methods onNotificationRuleSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-