Interface UpdateBillingGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<UpdateBillingGroupRequest.Builder,,UpdateBillingGroupRequest> SdkBuilder<UpdateBillingGroupRequest.Builder,,UpdateBillingGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBillingGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountGrouping(Consumer<UpdateBillingGroupAccountGrouping.Builder> accountGrouping) Specifies if the billing group has automatic account association (AutoAssociate) enabled.accountGrouping(UpdateBillingGroupAccountGrouping accountGrouping) Specifies if the billing group has automatic account association (AutoAssociate) enabled.The Amazon Resource Name (ARN) of the billing group being updated.computationPreference(Consumer<ComputationPreference.Builder> computationPreference) The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.computationPreference(ComputationPreference computationPreference) The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.description(String description) A description of the billing group.The name of the billing group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The status of the billing group.status(BillingGroupStatus status) The status of the billing group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.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, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the billing group being updated.
- Parameters:
arn- The Amazon Resource Name (ARN) of the billing group being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the billing group. The names must be unique to each billing group.
- Parameters:
name- The name of the billing group. The names must be unique to each billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the billing group. Only one of the valid values can be used.
- Parameters:
status- The status of the billing group. Only one of the valid values can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the billing group. Only one of the valid values can be used.
- Parameters:
status- The status of the billing group. Only one of the valid values can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computationPreference
UpdateBillingGroupRequest.Builder computationPreference(ComputationPreference computationPreference) The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
- Parameters:
computationPreference- The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationPreference
default UpdateBillingGroupRequest.Builder computationPreference(Consumer<ComputationPreference.Builder> computationPreference) The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
This is a convenience method that creates an instance of theComputationPreference.Builderavoiding the need to create one manually viaComputationPreference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomputationPreference(ComputationPreference).- Parameters:
computationPreference- a consumer that will call methods onComputationPreference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the billing group.
- Parameters:
description- A description of the billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountGrouping
UpdateBillingGroupRequest.Builder accountGrouping(UpdateBillingGroupAccountGrouping accountGrouping) Specifies if the billing group has automatic account association (
AutoAssociate) enabled.- Parameters:
accountGrouping- Specifies if the billing group has automatic account association (AutoAssociate) enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountGrouping
default UpdateBillingGroupRequest.Builder accountGrouping(Consumer<UpdateBillingGroupAccountGrouping.Builder> accountGrouping) Specifies if the billing group has automatic account association (
This is a convenience method that creates an instance of theAutoAssociate) enabled.UpdateBillingGroupAccountGrouping.Builderavoiding the need to create one manually viaUpdateBillingGroupAccountGrouping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountGrouping(UpdateBillingGroupAccountGrouping).- Parameters:
accountGrouping- a consumer that will call methods onUpdateBillingGroupAccountGrouping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateBillingGroupRequest.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
UpdateBillingGroupRequest.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.
-