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.
SdkPojo
, ToCopyableBuilder<CreateBillingGroupRequest.Builder,CreateBillingGroupRequest>
final AccountGrouping
builder()
final String
final ComputationPreference
final String
final boolean
final boolean
equalsBySdkFields(Object obj)
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
SdkRequest
.final int
hashCode()
final boolean
hasTags()
final String
name()
final String
static Class<? extends CreateBillingGroupRequest.Builder>
tags()
final String
toString()
overrideConfiguration
copy
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
The billing group name. The names must be unique.
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated billing family.
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
The account ID that serves as the main account in a billing group.
The description of the billing group.
isEmpty()
method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags()
method.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateBillingGroupRequest.Builder,CreateBillingGroupRequest>
toBuilder
in class BillingconductorRequest
hashCode
in class AwsRequest
equals
in class AwsRequest
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withSdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.