@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCostCategoryDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateCostCategoryDefinitionRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateCostCategoryDefinitionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getName() |
List<CostCategoryRule> |
getRules()
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. |
String |
getRuleVersion() |
int |
hashCode() |
void |
setName(String name) |
void |
setRules(Collection<CostCategoryRule> rules)
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. |
void |
setRuleVersion(String ruleVersion) |
String |
toString()
Returns a string representation of this object.
|
CreateCostCategoryDefinitionRequest |
withName(String name) |
CreateCostCategoryDefinitionRequest |
withRules(Collection<CostCategoryRule> rules)
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. |
CreateCostCategoryDefinitionRequest |
withRules(CostCategoryRule... rules)
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. |
CreateCostCategoryDefinitionRequest |
withRuleVersion(CostCategoryRuleVersion ruleVersion) |
CreateCostCategoryDefinitionRequest |
withRuleVersion(String ruleVersion) |
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 setName(String name)
name - public String getName()
public CreateCostCategoryDefinitionRequest withName(String name)
name - public void setRuleVersion(String ruleVersion)
ruleVersion - CostCategoryRuleVersionpublic String getRuleVersion()
CostCategoryRuleVersionpublic CreateCostCategoryDefinitionRequest withRuleVersion(String ruleVersion)
ruleVersion - CostCategoryRuleVersionpublic CreateCostCategoryDefinitionRequest withRuleVersion(CostCategoryRuleVersion ruleVersion)
ruleVersion - CostCategoryRuleVersionpublic List<CostCategoryRule> getRules()
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. Currently the only
dimensions supported is LINKED_ACCOUNT.
Root level OR is not supported. We recommend you create a separate rule instead.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. Currently
the only dimensions supported is LINKED_ACCOUNT.
Root level OR is not supported. We recommend you create a separate rule instead.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
public void setRules(Collection<CostCategoryRule> rules)
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. Currently the only
dimensions supported is LINKED_ACCOUNT.
Root level OR is not supported. We recommend you create a separate rule instead.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
rules - CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. Currently the
only dimensions supported is LINKED_ACCOUNT.
Root level OR is not supported. We recommend you create a separate rule instead.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
public CreateCostCategoryDefinitionRequest withRules(CostCategoryRule... rules)
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. Currently the only
dimensions supported is LINKED_ACCOUNT.
Root level OR is not supported. We recommend you create a separate rule instead.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
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 - CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. Currently the
only dimensions supported is LINKED_ACCOUNT.
Root level OR is not supported. We recommend you create a separate rule instead.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
public CreateCostCategoryDefinitionRequest withRules(Collection<CostCategoryRule> rules)
CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. Currently the only
dimensions supported is LINKED_ACCOUNT.
Root level OR is not supported. We recommend you create a separate rule instead.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
rules - CreateCostCategoryDefinition supports dimensions, Tags, and nested expressions. Currently the
only dimensions supported is LINKED_ACCOUNT.
Root level OR is not supported. We recommend you create a separate rule instead.
Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
public String toString()
toString in class ObjectObject.toString()public CreateCostCategoryDefinitionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.