@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCostCategoryDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateCostCategoryDefinitionRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateCostCategoryDefinitionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCostCategoryArn()
The unique identifier for your Cost Category.
|
String |
getDefaultValue() |
List<CostCategoryRule> |
getRules()
The
Expression object used to categorize costs. |
String |
getRuleVersion() |
List<CostCategorySplitChargeRule> |
getSplitChargeRules()
The split charge rules used to allocate your charges between your Cost Category values.
|
int |
hashCode() |
void |
setCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
|
void |
setDefaultValue(String defaultValue) |
void |
setRules(Collection<CostCategoryRule> rules)
The
Expression object used to categorize costs. |
void |
setRuleVersion(String ruleVersion) |
void |
setSplitChargeRules(Collection<CostCategorySplitChargeRule> splitChargeRules)
The split charge rules used to allocate your charges between your Cost Category values.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCostCategoryDefinitionRequest |
withCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
|
UpdateCostCategoryDefinitionRequest |
withDefaultValue(String defaultValue) |
UpdateCostCategoryDefinitionRequest |
withRules(Collection<CostCategoryRule> rules)
The
Expression object used to categorize costs. |
UpdateCostCategoryDefinitionRequest |
withRules(CostCategoryRule... rules)
The
Expression object used to categorize costs. |
UpdateCostCategoryDefinitionRequest |
withRuleVersion(CostCategoryRuleVersion ruleVersion) |
UpdateCostCategoryDefinitionRequest |
withRuleVersion(String ruleVersion) |
UpdateCostCategoryDefinitionRequest |
withSplitChargeRules(Collection<CostCategorySplitChargeRule> splitChargeRules)
The split charge rules used to allocate your charges between your Cost Category values.
|
UpdateCostCategoryDefinitionRequest |
withSplitChargeRules(CostCategorySplitChargeRule... splitChargeRules)
The split charge rules used to allocate your charges between your Cost Category values.
|
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 setCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
costCategoryArn - The unique identifier for your Cost Category.public String getCostCategoryArn()
The unique identifier for your Cost Category.
public UpdateCostCategoryDefinitionRequest withCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
costCategoryArn - The unique identifier for your Cost Category.public void setRuleVersion(String ruleVersion)
ruleVersion - CostCategoryRuleVersionpublic String getRuleVersion()
CostCategoryRuleVersionpublic UpdateCostCategoryDefinitionRequest withRuleVersion(String ruleVersion)
ruleVersion - CostCategoryRuleVersionpublic UpdateCostCategoryDefinitionRequest withRuleVersion(CostCategoryRuleVersion ruleVersion)
ruleVersion - CostCategoryRuleVersionpublic List<CostCategoryRule> getRules()
The Expression object used to categorize costs. For more information, see CostCategoryRule .
Expression object used to categorize costs. For more information, see CostCategoryRule .public void setRules(Collection<CostCategoryRule> rules)
The Expression object used to categorize costs. For more information, see CostCategoryRule .
rules - The Expression object used to categorize costs. For more information, see CostCategoryRule .public UpdateCostCategoryDefinitionRequest withRules(CostCategoryRule... rules)
The Expression object used to categorize costs. For more information, see CostCategoryRule .
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection) or withRules(java.util.Collection) if you want to override the
existing values.
rules - The Expression object used to categorize costs. For more information, see CostCategoryRule .public UpdateCostCategoryDefinitionRequest withRules(Collection<CostCategoryRule> rules)
The Expression object used to categorize costs. For more information, see CostCategoryRule .
rules - The Expression object used to categorize costs. For more information, see CostCategoryRule .public void setDefaultValue(String defaultValue)
defaultValue - public String getDefaultValue()
public UpdateCostCategoryDefinitionRequest withDefaultValue(String defaultValue)
defaultValue - public List<CostCategorySplitChargeRule> getSplitChargeRules()
The split charge rules used to allocate your charges between your Cost Category values.
public void setSplitChargeRules(Collection<CostCategorySplitChargeRule> splitChargeRules)
The split charge rules used to allocate your charges between your Cost Category values.
splitChargeRules - The split charge rules used to allocate your charges between your Cost Category values.public UpdateCostCategoryDefinitionRequest withSplitChargeRules(CostCategorySplitChargeRule... splitChargeRules)
The split charge rules used to allocate your charges between your Cost Category values.
NOTE: This method appends the values to the existing list (if any). Use
setSplitChargeRules(java.util.Collection) or withSplitChargeRules(java.util.Collection) if you
want to override the existing values.
splitChargeRules - The split charge rules used to allocate your charges between your Cost Category values.public UpdateCostCategoryDefinitionRequest withSplitChargeRules(Collection<CostCategorySplitChargeRule> splitChargeRules)
The split charge rules used to allocate your charges between your Cost Category values.
splitChargeRules - The split charge rules used to allocate your charges between your Cost Category values.public String toString()
toString in class ObjectObject.toString()public UpdateCostCategoryDefinitionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.