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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNotificationRulesResponse.BuildernextToken(String nextToken)An enumeration token that can be used in a request to return the next batch of the results.ListNotificationRulesResponse.BuildernotificationRules(Collection<NotificationRuleSummary> notificationRules)The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.ListNotificationRulesResponse.BuildernotificationRules(Consumer<NotificationRuleSummary.Builder>... notificationRules)The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.ListNotificationRulesResponse.BuildernotificationRules(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 Detail
-
nextToken
ListNotificationRulesResponse.Builder nextToken(String 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.Builderavoiding the need to create one manually viaNotificationRuleSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#notificationRules(List.) - 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:
#notificationRules(java.util.Collection)
-
-