Interface ListBillingGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BillingconductorResponse.Builder,Buildable,CopyableBuilder<ListBillingGroupsResponse.Builder,ListBillingGroupsResponse>,SdkBuilder<ListBillingGroupsResponse.Builder,ListBillingGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBillingGroupsResponse
public static interface ListBillingGroupsResponse.Builder extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListBillingGroupsResponse.Builder,ListBillingGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBillingGroupsResponse.BuilderbillingGroups(Collection<BillingGroupListElement> billingGroups)A list ofBillingGroupListElementretrieved.ListBillingGroupsResponse.BuilderbillingGroups(Consumer<BillingGroupListElement.Builder>... billingGroups)A list ofBillingGroupListElementretrieved.ListBillingGroupsResponse.BuilderbillingGroups(BillingGroupListElement... billingGroups)A list ofBillingGroupListElementretrieved.ListBillingGroupsResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
billingGroups
ListBillingGroupsResponse.Builder billingGroups(Collection<BillingGroupListElement> 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(BillingGroupListElement... 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 to#billingGroups(List.) - 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:
#billingGroups(java.util.Collection)
-
nextToken
ListBillingGroupsResponse.Builder nextToken(String 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.
-
-