@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CostCategorySplitChargeRuleParameter extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for a split charge method.
Constructor and Description |
---|
CostCategorySplitChargeRuleParameter() |
Modifier and Type | Method and Description |
---|---|
CostCategorySplitChargeRuleParameter |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The parameter type.
|
List<String> |
getValues()
The parameter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The parameter type.
|
void |
setValues(Collection<String> values)
The parameter values.
|
String |
toString()
Returns a string representation of this object.
|
CostCategorySplitChargeRuleParameter |
withType(CostCategorySplitChargeRuleParameterType type)
The parameter type.
|
CostCategorySplitChargeRuleParameter |
withType(String type)
The parameter type.
|
CostCategorySplitChargeRuleParameter |
withValues(Collection<String> values)
The parameter values.
|
CostCategorySplitChargeRuleParameter |
withValues(String... values)
The parameter values.
|
public CostCategorySplitChargeRuleParameter()
public void setType(String type)
The parameter type.
type
- The parameter type.CostCategorySplitChargeRuleParameterType
public String getType()
The parameter type.
CostCategorySplitChargeRuleParameterType
public CostCategorySplitChargeRuleParameter withType(String type)
The parameter type.
type
- The parameter type.CostCategorySplitChargeRuleParameterType
public CostCategorySplitChargeRuleParameter withType(CostCategorySplitChargeRuleParameterType type)
The parameter type.
type
- The parameter type.CostCategorySplitChargeRuleParameterType
public void setValues(Collection<String> values)
The parameter values.
values
- The parameter values.public CostCategorySplitChargeRuleParameter withValues(String... values)
The parameter values.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The parameter values.public CostCategorySplitChargeRuleParameter withValues(Collection<String> values)
The parameter values.
values
- The parameter values.public String toString()
toString
in class Object
Object.toString()
public CostCategorySplitChargeRuleParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.