Interface DescribeSubscribersForNotificationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BudgetsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSubscribersForNotificationResponse.Builder,
,DescribeSubscribersForNotificationResponse> SdkBuilder<DescribeSubscribersForNotificationResponse.Builder,
,DescribeSubscribersForNotificationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeSubscribersForNotificationResponse
public static interface DescribeSubscribersForNotificationResponse.Builder
extends BudgetsResponse.Builder, SdkPojo, CopyableBuilder<DescribeSubscribersForNotificationResponse.Builder,DescribeSubscribersForNotificationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token in the service response that indicates the next set of results that you can retrieve.subscribers
(Collection<Subscriber> subscribers) A list of subscribers that are associated with a notification.subscribers
(Consumer<Subscriber.Builder>... subscribers) A list of subscribers that are associated with a notification.subscribers
(Subscriber... subscribers) A list of subscribers that are associated with a notification.Methods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsResponse.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
-
subscribers
A list of subscribers that are associated with a notification.
- Parameters:
subscribers
- A list of subscribers that are associated with a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
A list of subscribers that are associated with a notification.
- Parameters:
subscribers
- A list of subscribers that are associated with a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
DescribeSubscribersForNotificationResponse.Builder subscribers(Consumer<Subscriber.Builder>... subscribers) A list of subscribers that are associated with a notification.
This is a convenience method that creates an instance of theSubscriber.Builder
avoiding the need to create one manually viaSubscriber.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscribers(List<Subscriber>)
.- Parameters:
subscribers
- a consumer that will call methods onSubscriber.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token in the service response that indicates the next set of results that you can retrieve.
- Parameters:
nextToken
- The pagination token in the service response that indicates the next set of results that you can retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-