Interface ListCommitmentPurchaseAnalysesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCommitmentPurchaseAnalysesResponse.Builder,
,ListCommitmentPurchaseAnalysesResponse> CostExplorerResponse.Builder
,SdkBuilder<ListCommitmentPurchaseAnalysesResponse.Builder,
,ListCommitmentPurchaseAnalysesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCommitmentPurchaseAnalysesResponse
@Mutable
@NotThreadSafe
public static interface ListCommitmentPurchaseAnalysesResponse.Builder
extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<ListCommitmentPurchaseAnalysesResponse.Builder,ListCommitmentPurchaseAnalysesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanalysisSummaryList
(Collection<AnalysisSummary> analysisSummaryList) The list of analyses.analysisSummaryList
(Consumer<AnalysisSummary.Builder>... analysisSummaryList) The list of analyses.analysisSummaryList
(AnalysisSummary... analysisSummaryList) The list of analyses.nextPageToken
(String nextPageToken) The token 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.services.costexplorer.model.CostExplorerResponse.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
-
analysisSummaryList
ListCommitmentPurchaseAnalysesResponse.Builder analysisSummaryList(Collection<AnalysisSummary> analysisSummaryList) The list of analyses.
- Parameters:
analysisSummaryList
- The list of analyses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisSummaryList
ListCommitmentPurchaseAnalysesResponse.Builder analysisSummaryList(AnalysisSummary... analysisSummaryList) The list of analyses.
- Parameters:
analysisSummaryList
- The list of analyses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisSummaryList
ListCommitmentPurchaseAnalysesResponse.Builder analysisSummaryList(Consumer<AnalysisSummary.Builder>... analysisSummaryList) The list of analyses.
This is a convenience method that creates an instance of theAnalysisSummary.Builder
avoiding the need to create one manually viaAnalysisSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanalysisSummaryList(List<AnalysisSummary>)
.- Parameters:
analysisSummaryList
- a consumer that will call methods onAnalysisSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
The token to retrieve the next set of results.
- Parameters:
nextPageToken
- The token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-