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 ofBillingGroupListElementretrieved.billingGroups(Consumer<BillingGroupListElement.Builder>... billingGroups) A list ofBillingGroupListElementretrieved.billingGroups(BillingGroupListElement... billingGroups) A list ofBillingGroupListElementretrieved.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, 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
-
billingGroups
A list of
BillingGroupListElementretrieved.- Parameters:
billingGroups- A list ofBillingGroupListElementretrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroups
A list of
BillingGroupListElementretrieved.- Parameters:
billingGroups- A list ofBillingGroupListElementretrieved.- 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 theBillingGroupListElementretrieved.BillingGroupListElement.Builderavoiding the need to create one manually viaBillingGroupListElement.builder().When the
Consumercompletes,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.
-