@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomLineItemPercentageChargeDetails extends Object implements Serializable, Cloneable, StructuredPojo
A representation of the charge details that are associated with a percentage custom line item.
Constructor and Description |
---|
CustomLineItemPercentageChargeDetails() |
Modifier and Type | Method and Description |
---|---|
CustomLineItemPercentageChargeDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAssociatedValues()
A list of resource ARNs to associate to the percentage custom line item.
|
Double |
getPercentageValue()
The custom line item's percentage value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedValues(Collection<String> associatedValues)
A list of resource ARNs to associate to the percentage custom line item.
|
void |
setPercentageValue(Double percentageValue)
The custom line item's percentage value.
|
String |
toString()
Returns a string representation of this object.
|
CustomLineItemPercentageChargeDetails |
withAssociatedValues(Collection<String> associatedValues)
A list of resource ARNs to associate to the percentage custom line item.
|
CustomLineItemPercentageChargeDetails |
withAssociatedValues(String... associatedValues)
A list of resource ARNs to associate to the percentage custom line item.
|
CustomLineItemPercentageChargeDetails |
withPercentageValue(Double percentageValue)
The custom line item's percentage value.
|
public CustomLineItemPercentageChargeDetails()
public void setPercentageValue(Double percentageValue)
The custom line item's percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
percentageValue
- The custom line item's percentage value. This will be multiplied against the combined value of its
associated resources to determine its charge value.public Double getPercentageValue()
The custom line item's percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
public CustomLineItemPercentageChargeDetails withPercentageValue(Double percentageValue)
The custom line item's percentage value. This will be multiplied against the combined value of its associated resources to determine its charge value.
percentageValue
- The custom line item's percentage value. This will be multiplied against the combined value of its
associated resources to determine its charge value.public List<String> getAssociatedValues()
A list of resource ARNs to associate to the percentage custom line item.
public void setAssociatedValues(Collection<String> associatedValues)
A list of resource ARNs to associate to the percentage custom line item.
associatedValues
- A list of resource ARNs to associate to the percentage custom line item.public CustomLineItemPercentageChargeDetails withAssociatedValues(String... associatedValues)
A list of resource ARNs to associate to the percentage custom line item.
NOTE: This method appends the values to the existing list (if any). Use
setAssociatedValues(java.util.Collection)
or withAssociatedValues(java.util.Collection)
if you
want to override the existing values.
associatedValues
- A list of resource ARNs to associate to the percentage custom line item.public CustomLineItemPercentageChargeDetails withAssociatedValues(Collection<String> associatedValues)
A list of resource ARNs to associate to the percentage custom line item.
associatedValues
- A list of resource ARNs to associate to the percentage custom line item.public String toString()
toString
in class Object
Object.toString()
public CustomLineItemPercentageChargeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.