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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBillingGroupsResponse.Builder
billingGroups(Collection<GroupNameAndArn> billingGroups)
The list of billing groups.ListBillingGroupsResponse.Builder
billingGroups(Consumer<GroupNameAndArn.Builder>... billingGroups)
The list of billing groups.ListBillingGroupsResponse.Builder
billingGroups(GroupNameAndArn... billingGroups)
The list of billing groups.ListBillingGroupsResponse.Builder
nextToken(String nextToken)
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 Detail
-
billingGroups
ListBillingGroupsResponse.Builder billingGroups(Collection<GroupNameAndArn> 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
ListBillingGroupsResponse.Builder billingGroups(GroupNameAndArn... 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
ListBillingGroupsResponse.Builder billingGroups(Consumer<GroupNameAndArn.Builder>... 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 to#billingGroups(List
.) - 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:
#billingGroups(java.util.Collection
)
-
nextToken
ListBillingGroupsResponse.Builder nextToken(String 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.
-
-