Interface ListContractsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<ListContractsResponse.Builder,,ListContractsResponse> SdkBuilder<ListContractsResponse.Builder,,ListContractsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListContractsResponse
@Mutable
@NotThreadSafe
public static interface ListContractsResponse.Builder
extends BillingResponse.Builder, SdkPojo, CopyableBuilder<ListContractsResponse.Builder,ListContractsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ContractSummary> items) The list of contracts that your Amazon Web Services account is an eligible payer account of.items(Consumer<ContractSummary.Builder>... items) The list of contracts that your Amazon Web Services account is an eligible payer account of.items(ContractSummary... items) The list of contracts that your Amazon Web Services account is an eligible payer account of.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 contracts that your Amazon Web Services account is an eligible payer account of.
- Parameters:
items- The list of contracts that your Amazon Web Services account is an eligible payer account of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of contracts that your Amazon Web Services account is an eligible payer account of.
- Parameters:
items- The list of contracts that your Amazon Web Services account is an eligible payer account of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of contracts that your Amazon Web Services account is an eligible payer account of.
This is a convenience method that creates an instance of theContractSummary.Builderavoiding the need to create one manually viaContractSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ContractSummary>).- Parameters:
items- a consumer that will call methods onContractSummary.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.
-