@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCostCategoryArn()
The unique identifier for your Cost Category.
|
List<CostCategoryRule> |
getRules()
Rules are processed in order.
|
String |
getRuleVersion() |
int |
hashCode() |
void |
setCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
|
void |
setRules(Collection<CostCategoryRule> rules)
Rules are processed in order.
|
void |
setRuleVersion(String ruleVersion) |
String |
toString()
Returns a string representation of this object.
|
UpdateCostCategoryDefinitionRequest |
withCostCategoryArn(String costCategoryArn)
The unique identifier for your Cost Category.
|
UpdateCostCategoryDefinitionRequest |
withRules(Collection<CostCategoryRule> rules)
Rules are processed in order.
|
UpdateCostCategoryDefinitionRequest |
withRules(CostCategoryRule... rules)
Rules are processed in order.
|
UpdateCostCategoryDefinitionRequest |
withRuleVersion(CostCategoryRuleVersion ruleVersion) |
UpdateCostCategoryDefinitionRequest |
withRuleVersion(String ruleVersion) |
addHandlerContext, 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 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
- CostCategoryRuleVersion
public String getRuleVersion()
CostCategoryRuleVersion
public UpdateCostCategoryDefinitionRequest withRuleVersion(String ruleVersion)
ruleVersion
- CostCategoryRuleVersion
public UpdateCostCategoryDefinitionRequest withRuleVersion(CostCategoryRuleVersion ruleVersion)
ruleVersion
- CostCategoryRuleVersion
public List<CostCategoryRule> getRules()
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)
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
- 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 UpdateCostCategoryDefinitionRequest withRules(CostCategoryRule... rules)
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
- 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 UpdateCostCategoryDefinitionRequest withRules(Collection<CostCategoryRule> rules)
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
- 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 Object
Object.toString()
public UpdateCostCategoryDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.