Interface ListBillingGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingconductorResponse.Builder
,Buildable
,CopyableBuilder<ListBillingGroupsResponse.Builder,
,ListBillingGroupsResponse> SdkBuilder<ListBillingGroupsResponse.Builder,
,ListBillingGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBillingGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListBillingGroupsResponse.Builder
extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListBillingGroupsResponse.Builder,ListBillingGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingGroups
(Collection<BillingGroupListElement> billingGroups) A list ofBillingGroupListElement
retrieved.billingGroups
(Consumer<BillingGroupListElement.Builder>... billingGroups) A list ofBillingGroupListElement
retrieved.billingGroups
(BillingGroupListElement... billingGroups) A list ofBillingGroupListElement
retrieved.The pagination token that's used on subsequent calls to get billing groups.Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
billingGroups
A list of
BillingGroupListElement
retrieved.- Parameters:
billingGroups
- A list ofBillingGroupListElement
retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroups
A list of
BillingGroupListElement
retrieved.- Parameters:
billingGroups
- A list ofBillingGroupListElement
retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroups
ListBillingGroupsResponse.Builder billingGroups(Consumer<BillingGroupListElement.Builder>... billingGroups) A list of
This is a convenience method that creates an instance of theBillingGroupListElement
retrieved.BillingGroupListElement.Builder
avoiding the need to create one manually viaBillingGroupListElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillingGroups(List<BillingGroupListElement>)
.- Parameters:
billingGroups
- a consumer that will call methods onBillingGroupListElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that's used on subsequent calls to get billing groups.
- Parameters:
nextToken
- The pagination token that's used on subsequent calls to get billing groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-