Interface GetBillingPreferencesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingRequest.Builder,Buildable,CopyableBuilder<GetBillingPreferencesRequest.Builder,,GetBillingPreferencesRequest> SdkBuilder<GetBillingPreferencesRequest.Builder,,GetBillingPreferencesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetBillingPreferencesRequest
-
Method Summary
Modifier and TypeMethodDescriptionfeatures(Collection<BillingFeature> features) The feature to retrieve.features(BillingFeature... features) The feature to retrieve.featuresWithStrings(String... features) The feature to retrieve.featuresWithStrings(Collection<String> features) The feature to retrieve.filters(Collection<BillingFeatureFilter> filters) Filters to narrow results.filters(Consumer<BillingFeatureFilter.Builder>... filters) Filters to narrow results.filters(BillingFeatureFilter... filters) Filters to narrow results.maxResults(Integer maxResults) The maximum number of records to return per page.Pagination token from a previous response.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billing.model.BillingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
nextToken
Pagination token from a previous response. Pass the value returned in
nextTokento retrieve the next page of results.- Parameters:
nextToken- Pagination token from a previous response. Pass the value returned innextTokento retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of records to return per page. Range: 1 to 50. Default: 50.
- Parameters:
maxResults- The maximum number of records to return per page. Range: 1 to 50. Default: 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuresWithStrings
The feature to retrieve. Specify exactly one value. Valid values:
BILLING_ALERTS,RI_SHARING,RI_SHARING_HISTORY,CREDIT_SHARING,CREDIT_SHARING_HISTORY,CREDIT_LEVEL_SHARING,CREDIT_PREFERENCE_OPTIONS.- Parameters:
features- The feature to retrieve. Specify exactly one value. Valid values:BILLING_ALERTS,RI_SHARING,RI_SHARING_HISTORY,CREDIT_SHARING,CREDIT_SHARING_HISTORY,CREDIT_LEVEL_SHARING,CREDIT_PREFERENCE_OPTIONS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuresWithStrings
The feature to retrieve. Specify exactly one value. Valid values:
BILLING_ALERTS,RI_SHARING,RI_SHARING_HISTORY,CREDIT_SHARING,CREDIT_SHARING_HISTORY,CREDIT_LEVEL_SHARING,CREDIT_PREFERENCE_OPTIONS.- Parameters:
features- The feature to retrieve. Specify exactly one value. Valid values:BILLING_ALERTS,RI_SHARING,RI_SHARING_HISTORY,CREDIT_SHARING,CREDIT_SHARING_HISTORY,CREDIT_LEVEL_SHARING,CREDIT_PREFERENCE_OPTIONS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
The feature to retrieve. Specify exactly one value. Valid values:
BILLING_ALERTS,RI_SHARING,RI_SHARING_HISTORY,CREDIT_SHARING,CREDIT_SHARING_HISTORY,CREDIT_LEVEL_SHARING,CREDIT_PREFERENCE_OPTIONS.- Parameters:
features- The feature to retrieve. Specify exactly one value. Valid values:BILLING_ALERTS,RI_SHARING,RI_SHARING_HISTORY,CREDIT_SHARING,CREDIT_SHARING_HISTORY,CREDIT_LEVEL_SHARING,CREDIT_PREFERENCE_OPTIONS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
features
The feature to retrieve. Specify exactly one value. Valid values:
BILLING_ALERTS,RI_SHARING,RI_SHARING_HISTORY,CREDIT_SHARING,CREDIT_SHARING_HISTORY,CREDIT_LEVEL_SHARING,CREDIT_PREFERENCE_OPTIONS.- Parameters:
features- The feature to retrieve. Specify exactly one value. Valid values:BILLING_ALERTS,RI_SHARING,RI_SHARING_HISTORY,CREDIT_SHARING,CREDIT_SHARING_HISTORY,CREDIT_LEVEL_SHARING,CREDIT_PREFERENCE_OPTIONS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to narrow results. Specify exactly one filter when supplied. The supported filter name is
PREFERENCE_KEY, which accepts 1 to 10 values to match preference keys.- Parameters:
filters- Filters to narrow results. Specify exactly one filter when supplied. The supported filter name isPREFERENCE_KEY, which accepts 1 to 10 values to match preference keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to narrow results. Specify exactly one filter when supplied. The supported filter name is
PREFERENCE_KEY, which accepts 1 to 10 values to match preference keys.- Parameters:
filters- Filters to narrow results. Specify exactly one filter when supplied. The supported filter name isPREFERENCE_KEY, which accepts 1 to 10 values to match preference keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to narrow results. Specify exactly one filter when supplied. The supported filter name is
This is a convenience method that creates an instance of thePREFERENCE_KEY, which accepts 1 to 10 values to match preference keys.BillingFeatureFilter.Builderavoiding the need to create one manually viaBillingFeatureFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<BillingFeatureFilter>).- Parameters:
filters- a consumer that will call methods onBillingFeatureFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetBillingPreferencesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetBillingPreferencesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-