Interface ListBillingGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBillingGroupsResponse.Builder,
,ListBillingGroupsResponse> IotResponse.Builder
,SdkBuilder<ListBillingGroupsResponse.Builder,
,ListBillingGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBillingGroupsResponse
public static interface ListBillingGroupsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListBillingGroupsResponse.Builder,ListBillingGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingGroups
(Collection<GroupNameAndArn> billingGroups) The list of billing groups.billingGroups
(Consumer<GroupNameAndArn.Builder>... billingGroups) The list of billing groups.billingGroups
(GroupNameAndArn... billingGroups) The list of billing groups.The token to use to get the next set of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
billingGroups
The list of billing groups.
- Parameters:
billingGroups
- The list of billing groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroups
The list of billing groups.
- Parameters:
billingGroups
- The list of billing groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroups
The list of billing groups.
This is a convenience method that creates an instance of theGroupNameAndArn.Builder
avoiding the need to create one manually viaGroupNameAndArn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillingGroups(List<GroupNameAndArn>)
.- Parameters:
billingGroups
- a consumer that will call methods onGroupNameAndArn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next set of results, or null if there are no additional results.
- Parameters:
nextToken
- The token to use to get the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-