Interface CreateBillingGroupRequest.Builder

  • Method Details

    • clientToken

      CreateBillingGroupRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the AccountGrouping.Builder avoiding the need to create one manually via AccountGrouping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accountGrouping(AccountGrouping).

      Parameters:
      accountGrouping - a consumer that will call methods on AccountGrouping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ComputationPreference.Builder avoiding the need to create one manually via ComputationPreference.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to computationPreference(ComputationPreference).

      Parameters:
      computationPreference - a consumer that will call methods on ComputationPreference.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.