Interface ListBudgetsForResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBudgetsForResourceResponse.Builder,
,ListBudgetsForResourceResponse> SdkBuilder<ListBudgetsForResourceResponse.Builder,
,ListBudgetsForResourceResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogResponse.Builder
- Enclosing class:
ListBudgetsForResourceResponse
public static interface ListBudgetsForResourceResponse.Builder
extends ServiceCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListBudgetsForResourceResponse.Builder,ListBudgetsForResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbudgets
(Collection<BudgetDetail> budgets) Information about the associated budgets.budgets
(Consumer<BudgetDetail.Builder>... budgets) Information about the associated budgets.budgets
(BudgetDetail... budgets) Information about the associated budgets.nextPageToken
(String nextPageToken) The page token to use to retrieve the next set of results.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
Methods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
budgets
Information about the associated budgets.
- Parameters:
budgets
- Information about the associated budgets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgets
Information about the associated budgets.
- Parameters:
budgets
- Information about the associated budgets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgets
Information about the associated budgets.
This is a convenience method that creates an instance of theBudgetDetail.Builder
avoiding the need to create one manually viaBudgetDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobudgets(List<BudgetDetail>)
.- Parameters:
budgets
- a consumer that will call methods onBudgetDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
- Parameters:
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-