Interface UpdateBillingGroupResponse.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the billing group that was updated.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the billing group that was 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.
    • description

      UpdateBillingGroupResponse.Builder description(String 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.
    • primaryAccountId

      UpdateBillingGroupResponse.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.
    • pricingPlanArn

      UpdateBillingGroupResponse.Builder pricingPlanArn(String pricingPlanArn)

      The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.

      Parameters:
      pricingPlanArn - The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • size

      The number of accounts in the particular billing group.

      Parameters:
      size - The number of accounts in the particular billing group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      UpdateBillingGroupResponse.Builder lastModifiedTime(Long lastModifiedTime)

      The most recent time when the billing group was modified.

      Parameters:
      lastModifiedTime - The most recent time when the billing group was modified.
      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:
    • statusReason

      UpdateBillingGroupResponse.Builder statusReason(String statusReason)

      The reason why the billing group is in its current status.

      Parameters:
      statusReason - The reason why the billing group is in its current status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      Specifies if the billing group has automatic account association (AutoAssociate) enabled.

      This is a convenience method that creates an instance of the UpdateBillingGroupAccountGrouping.Builder avoiding the need to create one manually via UpdateBillingGroupAccountGrouping.builder().

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

      Parameters:
      accountGrouping - a consumer that will call methods on UpdateBillingGroupAccountGrouping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: