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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSubscribersForNotificationResponse.BuildernextToken(String nextToken)The pagination token in the service response that indicates the next set of results that you can retrieve.DescribeSubscribersForNotificationResponse.Buildersubscribers(Collection<Subscriber> subscribers)A list of subscribers that are associated with a notification.DescribeSubscribersForNotificationResponse.Buildersubscribers(Consumer<Subscriber.Builder>... subscribers)A list of subscribers that are associated with a notification.DescribeSubscribersForNotificationResponse.Buildersubscribers(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
subscribers
DescribeSubscribersForNotificationResponse.Builder subscribers(Collection<Subscriber> 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(Subscriber... 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.Builderavoiding the need to create one manually viaSubscriber.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subscribers(List.) - 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:
#subscribers(java.util.Collection)
-
nextToken
DescribeSubscribersForNotificationResponse.Builder nextToken(String 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.
-
-