Interface ListContractualInvestmentSummariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<ListContractualInvestmentSummariesResponse.Builder,,ListContractualInvestmentSummariesResponse> SdkBuilder<ListContractualInvestmentSummariesResponse.Builder,,ListContractualInvestmentSummariesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListContractualInvestmentSummariesResponse
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<InvestmentSummary> items) The list of investment summaries under the contract.items(Consumer<InvestmentSummary.Builder>... items) The list of investment summaries under the contract.items(InvestmentSummary... items) The list of investment summaries under the contract.The pagination token to use on subsequent calls to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.services.billing.model.BillingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.
- Parameters:
items- The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.
- Parameters:
items- The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListContractualInvestmentSummariesResponse.Builder items(Consumer<InvestmentSummary.Builder>... items) The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.
This is a convenience method that creates an instance of theInvestmentSummary.Builderavoiding the need to create one manually viaInvestmentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<InvestmentSummary>).- Parameters:
items- a consumer that will call methods onInvestmentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use on subsequent calls to retrieve the next set of results.
- Parameters:
nextToken- The pagination token to use on subsequent calls to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-