@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageFeatureResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the result of the total usage based on the feature.
| Constructor and Description |
|---|
UsageFeatureResult() |
| Modifier and Type | Method and Description |
|---|---|
UsageFeatureResult |
clone() |
boolean |
equals(Object obj) |
String |
getFeature()
The feature that generated the usage cost.
|
Total |
getTotal() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFeature(String feature)
The feature that generated the usage cost.
|
void |
setTotal(Total total) |
String |
toString()
Returns a string representation of this object.
|
UsageFeatureResult |
withFeature(String feature)
The feature that generated the usage cost.
|
UsageFeatureResult |
withFeature(UsageFeature feature)
The feature that generated the usage cost.
|
UsageFeatureResult |
withTotal(Total total) |
public void setFeature(String feature)
The feature that generated the usage cost.
feature - The feature that generated the usage cost.UsageFeaturepublic String getFeature()
The feature that generated the usage cost.
UsageFeaturepublic UsageFeatureResult withFeature(String feature)
The feature that generated the usage cost.
feature - The feature that generated the usage cost.UsageFeaturepublic UsageFeatureResult withFeature(UsageFeature feature)
The feature that generated the usage cost.
feature - The feature that generated the usage cost.UsageFeaturepublic void setTotal(Total total)
total - public Total getTotal()
public UsageFeatureResult withTotal(Total total)
total - public String toString()
toString in class ObjectObject.toString()public UsageFeatureResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.