Interface DescribeNotificationsForBudgetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BudgetsResponse.Builder
,Buildable
,CopyableBuilder<DescribeNotificationsForBudgetResponse.Builder,
,DescribeNotificationsForBudgetResponse> SdkBuilder<DescribeNotificationsForBudgetResponse.Builder,
,DescribeNotificationsForBudgetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeNotificationsForBudgetResponse
public static interface DescribeNotificationsForBudgetResponse.Builder
extends BudgetsResponse.Builder, SdkPojo, CopyableBuilder<DescribeNotificationsForBudgetResponse.Builder,DescribeNotificationsForBudgetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token in the service response that indicates the next set of results that you can retrieve.notifications
(Collection<Notification> notifications) A list of notifications that are associated with a budget.notifications
(Consumer<Notification.Builder>... notifications) A list of notifications that are associated with a budget.notifications
(Notification... notifications) A list of notifications that are associated with a budget.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
-
notifications
DescribeNotificationsForBudgetResponse.Builder notifications(Collection<Notification> notifications) A list of notifications that are associated with a budget.
- Parameters:
notifications
- A list of notifications that are associated with a budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
A list of notifications that are associated with a budget.
- Parameters:
notifications
- A list of notifications that are associated with a budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
DescribeNotificationsForBudgetResponse.Builder notifications(Consumer<Notification.Builder>... notifications) A list of notifications that are associated with a budget.
This is a convenience method that creates an instance of theNotification.Builder
avoiding the need to create one manually viaNotification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotifications(List<Notification>)
.- Parameters:
notifications
- a consumer that will call methods onNotification.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.
-