@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBillingGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateBillingGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateBillingGroupRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateBillingGroupRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateBillingGroupRequest |
clone() |
boolean |
equals(Object obj) |
AccountGrouping |
getAccountGrouping()
The set of accounts that will be under the billing group.
|
String |
getClientToken()
The token that is needed to support idempotency.
|
ComputationPreference |
getComputationPreference()
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
|
String |
getDescription()
The billing group description.
|
String |
getName()
The billing group name.
|
String |
getPrimaryAccountId()
The account ID that serves as the main account in a billing group.
|
Map<String,String> |
getTags()
A map that contains tag keys and tag values that are attached to a billing group.
|
int |
hashCode() |
void |
setAccountGrouping(AccountGrouping accountGrouping)
The set of accounts that will be under the billing group.
|
void |
setClientToken(String clientToken)
The token that is needed to support idempotency.
|
void |
setComputationPreference(ComputationPreference computationPreference)
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
|
void |
setDescription(String description)
The billing group description.
|
void |
setName(String name)
The billing group name.
|
void |
setPrimaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
|
void |
setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a billing group.
|
String |
toString()
Returns a string representation of this object.
|
CreateBillingGroupRequest |
withAccountGrouping(AccountGrouping accountGrouping)
The set of accounts that will be under the billing group.
|
CreateBillingGroupRequest |
withClientToken(String clientToken)
The token that is needed to support idempotency.
|
CreateBillingGroupRequest |
withComputationPreference(ComputationPreference computationPreference)
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
|
CreateBillingGroupRequest |
withDescription(String description)
The billing group description.
|
CreateBillingGroupRequest |
withName(String name)
The billing group name.
|
CreateBillingGroupRequest |
withPrimaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
|
CreateBillingGroupRequest |
withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a billing group.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClientToken(String clientToken)
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
clientToken - The token that is needed to support idempotency. Idempotency isn't currently supported, but will be
implemented in a future update.public String getClientToken()
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
public CreateBillingGroupRequest withClientToken(String clientToken)
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
clientToken - The token that is needed to support idempotency. Idempotency isn't currently supported, but will be
implemented in a future update.public void setName(String name)
The billing group name. The names must be unique.
name - The billing group name. The names must be unique.public String getName()
The billing group name. The names must be unique.
public CreateBillingGroupRequest withName(String name)
The billing group name. The names must be unique.
name - The billing group name. The names must be unique.public void setAccountGrouping(AccountGrouping accountGrouping)
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.
accountGrouping - The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts
in a consolidated family.public AccountGrouping getAccountGrouping()
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.
public CreateBillingGroupRequest withAccountGrouping(AccountGrouping accountGrouping)
The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.
accountGrouping - The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts
in a consolidated family.public void setComputationPreference(ComputationPreference computationPreference)
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
computationPreference - The preferences and settings that will be used to compute the Amazon Web Services charges for a billing
group.public ComputationPreference getComputationPreference()
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
public CreateBillingGroupRequest withComputationPreference(ComputationPreference computationPreference)
The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.
computationPreference - The preferences and settings that will be used to compute the Amazon Web Services charges for a billing
group.public void setPrimaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
primaryAccountId - The account ID that serves as the main account in a billing group.public String getPrimaryAccountId()
The account ID that serves as the main account in a billing group.
public CreateBillingGroupRequest withPrimaryAccountId(String primaryAccountId)
The account ID that serves as the main account in a billing group.
primaryAccountId - The account ID that serves as the main account in a billing group.public void setDescription(String description)
The billing group description.
description - The billing group description.public String getDescription()
The billing group description.
public CreateBillingGroupRequest withDescription(String description)
The billing group description.
description - The billing group description.public Map<String,String> getTags()
A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.
public void setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.
tags - A map that contains tag keys and tag values that are attached to a billing group. This feature isn't
available during the beta.public CreateBillingGroupRequest withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.
tags - A map that contains tag keys and tag values that are attached to a billing group. This feature isn't
available during the beta.public CreateBillingGroupRequest addTagsEntry(String key, String value)
public CreateBillingGroupRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateBillingGroupRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.