Interface BillingGroupListElement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BillingGroupListElement.Builder,BillingGroupListElement>,SdkBuilder<BillingGroupListElement.Builder,BillingGroupListElement>,SdkPojo
- Enclosing class:
- BillingGroupListElement
public static interface BillingGroupListElement.Builder extends SdkPojo, CopyableBuilder<BillingGroupListElement.Builder,BillingGroupListElement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BillingGroupListElement.BuilderaccountGrouping(Consumer<ListBillingGroupAccountGrouping.Builder> accountGrouping)Specifies if the billing group has automatic account association (AutoAssociate) enabled.BillingGroupListElement.BuilderaccountGrouping(ListBillingGroupAccountGrouping accountGrouping)Specifies if the billing group has automatic account association (AutoAssociate) enabled.BillingGroupListElement.Builderarn(String arn)The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.default BillingGroupListElement.BuildercomputationPreference(Consumer<ComputationPreference.Builder> computationPreference)Sets the value of the ComputationPreference property for this object.BillingGroupListElement.BuildercomputationPreference(ComputationPreference computationPreference)Sets the value of the ComputationPreference property for this object.BillingGroupListElement.BuildercreationTime(Long creationTime)The time when the billing group was created.BillingGroupListElement.Builderdescription(String description)The description of the billing group.BillingGroupListElement.BuilderlastModifiedTime(Long lastModifiedTime)The most recent time when the billing group was modified.BillingGroupListElement.Buildername(String name)The name of the billing group.BillingGroupListElement.BuilderprimaryAccountId(String primaryAccountId)The account ID that serves as the main account in a billing group.BillingGroupListElement.Buildersize(Long size)The number of accounts in the particular billing group.BillingGroupListElement.Builderstatus(String status)The billing group status.BillingGroupListElement.Builderstatus(BillingGroupStatus status)The billing group status.BillingGroupListElement.BuilderstatusReason(String statusReason)The reason why the billing group is in its current status.-
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
-
name
BillingGroupListElement.Builder name(String name)
The name of the billing group.
- Parameters:
name- The name of the billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
BillingGroupListElement.Builder arn(String arn)
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
- Parameters:
arn- The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
BillingGroupListElement.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.
-
primaryAccountId
BillingGroupListElement.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.
-
computationPreference
BillingGroupListElement.Builder computationPreference(ComputationPreference computationPreference)
Sets the value of the ComputationPreference property for this object.- Parameters:
computationPreference- The new value for the ComputationPreference property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computationPreference
default BillingGroupListElement.Builder computationPreference(Consumer<ComputationPreference.Builder> computationPreference)
Sets the value of the ComputationPreference property for this object. 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)
-
size
BillingGroupListElement.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.
-
creationTime
BillingGroupListElement.Builder creationTime(Long creationTime)
The time when the billing group was created.
- Parameters:
creationTime- The time when the billing group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
BillingGroupListElement.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
BillingGroupListElement.Builder status(String status)
The billing group status. Only one of the valid values can be used.
- Parameters:
status- The billing group status. 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
BillingGroupListElement.Builder status(BillingGroupStatus status)
The billing group status. Only one of the valid values can be used.
- Parameters:
status- The billing group status. 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
BillingGroupListElement.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
BillingGroupListElement.Builder accountGrouping(ListBillingGroupAccountGrouping 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 BillingGroupListElement.Builder accountGrouping(Consumer<ListBillingGroupAccountGrouping.Builder> accountGrouping)
Specifies if the billing group has automatic account association (
This is a convenience method that creates an instance of theAutoAssociate) enabled.ListBillingGroupAccountGrouping.Builderavoiding the need to create one manually viaListBillingGroupAccountGrouping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountGrouping(ListBillingGroupAccountGrouping).- Parameters:
accountGrouping- a consumer that will call methods onListBillingGroupAccountGrouping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accountGrouping(ListBillingGroupAccountGrouping)
-
-