Interface GetBillingPreferencesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<GetBillingPreferencesResponse.Builder,,GetBillingPreferencesResponse> SdkBuilder<GetBillingPreferencesResponse.Builder,,GetBillingPreferencesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBillingPreferencesResponse
@Mutable
@NotThreadSafe
public static interface GetBillingPreferencesResponse.Builder
extends BillingResponse.Builder, SdkPojo, CopyableBuilder<GetBillingPreferencesResponse.Builder,GetBillingPreferencesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingPreferences(Collection<BillingPreferenceSummary> billingPreferences) The list of preference entries matching the request.billingPreferences(Consumer<BillingPreferenceSummary.Builder>... billingPreferences) The list of preference entries matching the request.billingPreferences(BillingPreferenceSummary... billingPreferences) The list of preference entries matching the request.Pagination token.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
-
billingPreferences
GetBillingPreferencesResponse.Builder billingPreferences(Collection<BillingPreferenceSummary> billingPreferences) The list of preference entries matching the request.
- Parameters:
billingPreferences- The list of preference entries matching the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPreferences
GetBillingPreferencesResponse.Builder billingPreferences(BillingPreferenceSummary... billingPreferences) The list of preference entries matching the request.
- Parameters:
billingPreferences- The list of preference entries matching the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingPreferences
GetBillingPreferencesResponse.Builder billingPreferences(Consumer<BillingPreferenceSummary.Builder>... billingPreferences) The list of preference entries matching the request.
This is a convenience method that creates an instance of theBillingPreferenceSummary.Builderavoiding the need to create one manually viaBillingPreferenceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillingPreferences(List<BillingPreferenceSummary>).- Parameters:
billingPreferences- a consumer that will call methods onBillingPreferenceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token. Present when more pages are available;
nullwhen there are no more results.- Parameters:
nextToken- Pagination token. Present when more pages are available;nullwhen there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-