Interface ListBudgetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBudgetsResponse.Builder,
,ListBudgetsResponse> DeadlineResponse.Builder
,SdkBuilder<ListBudgetsResponse.Builder,
,ListBudgetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBudgetsResponse
@Mutable
@NotThreadSafe
public static interface ListBudgetsResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<ListBudgetsResponse.Builder,ListBudgetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbudgets
(Collection<BudgetSummary> budgets) The budgets to include on the list.budgets
(Consumer<BudgetSummary.Builder>... budgets) The budgets to include on the list.budgets
(BudgetSummary... budgets) The budgets to include on the list.If Deadline Cloud returnsnextToken
, then there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
nextToken
If Deadline Cloud returns
nextToken
, then there are more results available. The value ofnextToken
is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextToken
is set tonull
. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationException
error.- Parameters:
nextToken
- If Deadline Cloud returnsnextToken
, then there are more results available. The value ofnextToken
is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextToken
is set tonull
. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationException
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgets
The budgets to include on the list.
- Parameters:
budgets
- The budgets to include on the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgets
The budgets to include on the list.
- Parameters:
budgets
- The budgets to include on the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgets
The budgets to include on the list.
This is a convenience method that creates an instance of theBudgetSummary.Builder
avoiding the need to create one manually viaBudgetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobudgets(List<BudgetSummary>)
.- Parameters:
budgets
- a consumer that will call methods onBudgetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-