@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCostCategoryDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCostCategoryDefinitionRequest() |
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, withSdkRequestTimeout
public void setName(String name)
name
- public String getName()
public CreateCostCategoryDefinitionRequest withName(String name)
name
- public void setRuleVersion(String ruleVersion)
ruleVersion
- CostCategoryRuleVersion
public String getRuleVersion()
CostCategoryRuleVersion
public CreateCostCategoryDefinitionRequest withRuleVersion(String ruleVersion)
ruleVersion
- CostCategoryRuleVersion
public CreateCostCategoryDefinitionRequest withRuleVersion(CostCategoryRuleVersion ruleVersion)
ruleVersion
- CostCategoryRuleVersion
public List<CostCategoryRule> getRules()
The Cost Category rules used to categorize costs. For more information, see CostCategoryRule.
public void setRules(Collection<CostCategoryRule> rules)
The Cost Category rules used to categorize costs. For more information, see CostCategoryRule.
rules
- The Cost Category rules used to categorize costs. For more information, see CostCategoryRule.public CreateCostCategoryDefinitionRequest withRules(CostCategoryRule... rules)
The Cost Category rules 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 Cost Category rules used to categorize costs. For more information, see CostCategoryRule.public CreateCostCategoryDefinitionRequest withRules(Collection<CostCategoryRule> rules)
The Cost Category rules used to categorize costs. For more information, see CostCategoryRule.
rules
- The Cost Category rules used to categorize costs. For more information, see CostCategoryRule.public String toString()
toString
in class Object
Object.toString()
public CreateCostCategoryDefinitionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2020. All rights reserved.