Interface UpdateBillingGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BillingconductorResponse.Builder,Buildable,CopyableBuilder<UpdateBillingGroupResponse.Builder,UpdateBillingGroupResponse>,SdkBuilder<UpdateBillingGroupResponse.Builder,UpdateBillingGroupResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateBillingGroupResponse
public static interface UpdateBillingGroupResponse.Builder extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<UpdateBillingGroupResponse.Builder,UpdateBillingGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateBillingGroupResponse.BuilderaccountGrouping(Consumer<UpdateBillingGroupAccountGrouping.Builder> accountGrouping)Specifies if the billing group has automatic account association (AutoAssociate) enabled.UpdateBillingGroupResponse.BuilderaccountGrouping(UpdateBillingGroupAccountGrouping accountGrouping)Specifies if the billing group has automatic account association (AutoAssociate) enabled.UpdateBillingGroupResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the billing group that was updated.UpdateBillingGroupResponse.Builderdescription(String description)A description of the billing group.UpdateBillingGroupResponse.BuilderlastModifiedTime(Long lastModifiedTime)The most recent time when the billing group was modified.UpdateBillingGroupResponse.Buildername(String name)The name of the billing group.UpdateBillingGroupResponse.BuilderpricingPlanArn(String pricingPlanArn)The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web Services charges for the billing group.UpdateBillingGroupResponse.BuilderprimaryAccountId(String primaryAccountId)The account ID that serves as the main account in a billing group.UpdateBillingGroupResponse.Buildersize(Long size)The number of accounts in the particular billing group.UpdateBillingGroupResponse.Builderstatus(String status)The status of the billing group.UpdateBillingGroupResponse.Builderstatus(BillingGroupStatus status)The status of the billing group.UpdateBillingGroupResponse.BuilderstatusReason(String statusReason)The reason why the billing group is in its current status.-
Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
UpdateBillingGroupResponse.Builder arn(String 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
UpdateBillingGroupResponse.Builder name(String 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
UpdateBillingGroupResponse.Builder size(Long 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
UpdateBillingGroupResponse.Builder status(String 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:
BillingGroupStatus,BillingGroupStatus
-
status
UpdateBillingGroupResponse.Builder status(BillingGroupStatus 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:
BillingGroupStatus,BillingGroupStatus
-
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
UpdateBillingGroupResponse.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 UpdateBillingGroupResponse.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:
accountGrouping(UpdateBillingGroupAccountGrouping)
-
-