Interface ListBusinessSupportSubscriptionHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<ListBusinessSupportSubscriptionHistoryResponse.Builder,,ListBusinessSupportSubscriptionHistoryResponse> SdkBuilder<ListBusinessSupportSubscriptionHistoryResponse.Builder,,ListBusinessSupportSubscriptionHistoryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBusinessSupportSubscriptionHistoryResponse
@Mutable
@NotThreadSafe
public static interface ListBusinessSupportSubscriptionHistoryResponse.Builder
extends BillingResponse.Builder, SdkPojo, CopyableBuilder<ListBusinessSupportSubscriptionHistoryResponse.Builder,ListBusinessSupportSubscriptionHistoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token for the next page of results.subscriptionContracts(Collection<BusinessSupportSubscriptionContract> subscriptionContracts) The list of Business Support subscription contracts.subscriptionContracts(Consumer<BusinessSupportSubscriptionContract.Builder>... subscriptionContracts) The list of Business Support subscription contracts.subscriptionContracts(BusinessSupportSubscriptionContract... subscriptionContracts) The list of Business Support subscription contracts.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
-
subscriptionContracts
ListBusinessSupportSubscriptionHistoryResponse.Builder subscriptionContracts(Collection<BusinessSupportSubscriptionContract> subscriptionContracts) The list of Business Support subscription contracts.
- Parameters:
subscriptionContracts- The list of Business Support subscription contracts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionContracts
ListBusinessSupportSubscriptionHistoryResponse.Builder subscriptionContracts(BusinessSupportSubscriptionContract... subscriptionContracts) The list of Business Support subscription contracts.
- Parameters:
subscriptionContracts- The list of Business Support subscription contracts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionContracts
ListBusinessSupportSubscriptionHistoryResponse.Builder subscriptionContracts(Consumer<BusinessSupportSubscriptionContract.Builder>... subscriptionContracts) The list of Business Support subscription contracts.
This is a convenience method that creates an instance of theBusinessSupportSubscriptionContract.Builderavoiding the need to create one manually viaBusinessSupportSubscriptionContract.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubscriptionContracts(List<BusinessSupportSubscriptionContract>).- Parameters:
subscriptionContracts- a consumer that will call methods onBusinessSupportSubscriptionContract.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token for the next page of results.
- Parameters:
nextToken- The pagination token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-