Interface ListBillingGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBillingGroupsResponse.Builder,,ListBillingGroupsResponse> IotResponse.Builder,SdkBuilder<ListBillingGroupsResponse.Builder,,ListBillingGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBillingGroupsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods 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
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.Builderavoiding the need to create one manually viaGroupNameAndArn.builder().When the
Consumercompletes,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.
-