Class BillingGroupListElement
- java.lang.Object
-
- software.amazon.awssdk.services.billingconductor.model.BillingGroupListElement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BillingGroupListElement.Builder,BillingGroupListElement>
@Generated("software.amazon.awssdk:codegen") public final class BillingGroupListElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BillingGroupListElement.Builder,BillingGroupListElement>
A representation of a billing group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBillingGroupListElement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBillingGroupAccountGroupingaccountGrouping()Specifies if the billing group has automatic account association (AutoAssociate) enabled.Stringarn()The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.static BillingGroupListElement.Builderbuilder()ComputationPreferencecomputationPreference()Returns the value of the ComputationPreference property for this object.LongcreationTime()The time when the billing group was created.Stringdescription()The description of the billing group.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastModifiedTime()The most recent time when the billing group was modified.Stringname()The name of the billing group.StringprimaryAccountId()The account ID that serves as the main account in a billing group.List<SdkField<?>>sdkFields()static Class<? extends BillingGroupListElement.Builder>serializableBuilderClass()Longsize()The number of accounts in the particular billing group.BillingGroupStatusstatus()The billing group status.StringstatusAsString()The billing group status.StringstatusReason()The reason why the billing group is in its current status.BillingGroupListElement.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the billing group.
- Returns:
- The name of the billing group.
-
arn
public final String arn()
The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
- Returns:
- The Amazon Resource Number (ARN) that can be used to uniquely identify the billing group.
-
description
public final String description()
The description of the billing group.
- Returns:
- The description of the billing group.
-
primaryAccountId
public final String primaryAccountId()
The account ID that serves as the main account in a billing group.
- Returns:
- The account ID that serves as the main account in a billing group.
-
computationPreference
public final ComputationPreference computationPreference()
Returns the value of the ComputationPreference property for this object.- Returns:
- The value of the ComputationPreference property for this object.
-
size
public final Long size()
The number of accounts in the particular billing group.
- Returns:
- The number of accounts in the particular billing group.
-
creationTime
public final Long creationTime()
The time when the billing group was created.
- Returns:
- The time when the billing group was created.
-
lastModifiedTime
public final Long lastModifiedTime()
The most recent time when the billing group was modified.
- Returns:
- The most recent time when the billing group was modified.
-
status
public final BillingGroupStatus status()
The billing group status. Only one of the valid values can be used.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBillingGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The billing group status. Only one of the valid values can be used.
- See Also:
BillingGroupStatus
-
statusAsString
public final String statusAsString()
The billing group status. Only one of the valid values can be used.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBillingGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The billing group status. Only one of the valid values can be used.
- See Also:
BillingGroupStatus
-
statusReason
public final String statusReason()
The reason why the billing group is in its current status.
- Returns:
- The reason why the billing group is in its current status.
-
accountGrouping
public final ListBillingGroupAccountGrouping accountGrouping()
Specifies if the billing group has automatic account association (
AutoAssociate) enabled.- Returns:
- Specifies if the billing group has automatic account association (
AutoAssociate) enabled.
-
toBuilder
public BillingGroupListElement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BillingGroupListElement.Builder,BillingGroupListElement>
-
builder
public static BillingGroupListElement.Builder builder()
-
serializableBuilderClass
public static Class<? extends BillingGroupListElement.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-