Interface CreateBillingGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<CreateBillingGroupRequest.Builder,CreateBillingGroupRequest>,SdkBuilder<CreateBillingGroupRequest.Builder,CreateBillingGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBillingGroupRequest
public static interface CreateBillingGroupRequest.Builder extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<CreateBillingGroupRequest.Builder,CreateBillingGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateBillingGroupRequest.BuilderaccountGrouping(Consumer<AccountGrouping.Builder> accountGrouping)The set of accounts that will be under the billing group.CreateBillingGroupRequest.BuilderaccountGrouping(AccountGrouping accountGrouping)The set of accounts that will be under the billing group.CreateBillingGroupRequest.BuilderclientToken(String clientToken)The token that is needed to support idempotency.default CreateBillingGroupRequest.BuildercomputationPreference(Consumer<ComputationPreference.Builder> computationPreference)The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.CreateBillingGroupRequest.BuildercomputationPreference(ComputationPreference computationPreference)The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.CreateBillingGroupRequest.Builderdescription(String description)The description of the billing group.CreateBillingGroupRequest.Buildername(String name)The billing group name.CreateBillingGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBillingGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBillingGroupRequest.BuilderprimaryAccountId(String primaryAccountId)The account ID that serves as the main account in a billing group.CreateBillingGroupRequest.Buildertags(Map<String,String> tags)A map that contains tag keys and tag values that are attached to a billing group.-
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 Detail
-
clientToken
CreateBillingGroupRequest.Builder clientToken(String clientToken)
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
- Parameters:
clientToken- The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateBillingGroupRequest.Builder name(String name)
The billing group name. The names must be unique.
- Parameters:
name- The billing group name. The names must be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountGrouping
CreateBillingGroupRequest.Builder accountGrouping(AccountGrouping accountGrouping)
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated billing family.
- Parameters:
accountGrouping- The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated billing family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountGrouping
default CreateBillingGroupRequest.Builder accountGrouping(Consumer<AccountGrouping.Builder> accountGrouping)
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated billing family.
This is a convenience method that creates an instance of theAccountGrouping.Builderavoiding the need to create one manually viaAccountGrouping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountGrouping(AccountGrouping).- Parameters:
accountGrouping- a consumer that will call methods onAccountGrouping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accountGrouping(AccountGrouping)
-
computationPreference
CreateBillingGroupRequest.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 CreateBillingGroupRequest.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:
computationPreference(ComputationPreference)
-
primaryAccountId
CreateBillingGroupRequest.Builder primaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
- Parameters:
primaryAccountId- The account ID that serves as the main account in a billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateBillingGroupRequest.Builder description(String description)
The description of the billing group.
- Parameters:
description- The description of the billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBillingGroupRequest.Builder tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.
- Parameters:
tags- A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBillingGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBillingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-