Interface ListBillingGroupsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BillingconductorRequest.Builder
,Buildable
,CopyableBuilder<ListBillingGroupsRequest.Builder,
,ListBillingGroupsRequest> SdkBuilder<ListBillingGroupsRequest.Builder,
,ListBillingGroupsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListBillingGroupsRequest
public static interface ListBillingGroupsRequest.Builder
extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<ListBillingGroupsRequest.Builder,ListBillingGroupsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbillingPeriod
(String billingPeriod) The preferred billing period to get billing groups.default ListBillingGroupsRequest.Builder
filters
(Consumer<ListBillingGroupsFilter.Builder> filters) AListBillingGroupsFilter
that specifies the billing group and pricing plan to retrieve billing group information.filters
(ListBillingGroupsFilter filters) AListBillingGroupsFilter
that specifies the billing group and pricing plan to retrieve billing group information.maxResults
(Integer maxResults) The maximum number of billing groups to retrieve.The pagination token that's used on subsequent calls to get billing groups.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.Builder
build
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
-
Method Details
-
billingPeriod
The preferred billing period to get billing groups.
- Parameters:
billingPeriod
- The preferred billing period to get billing groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of billing groups to retrieve.
- Parameters:
maxResults
- The maximum number of billing groups to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
filters
A
ListBillingGroupsFilter
that specifies the billing group and pricing plan to retrieve billing group information.- Parameters:
filters
- AListBillingGroupsFilter
that specifies the billing group and pricing plan to retrieve billing group information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A
This is a convenience method that creates an instance of theListBillingGroupsFilter
that specifies the billing group and pricing plan to retrieve billing group information.ListBillingGroupsFilter.Builder
avoiding the need to create one manually viaListBillingGroupsFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(ListBillingGroupsFilter)
.- Parameters:
filters
- a consumer that will call methods onListBillingGroupsFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListBillingGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListBillingGroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-