@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.UsageFeature
public String getFeature()
The feature that generated the usage cost.
UsageFeature
public UsageFeatureResult withFeature(String feature)
The feature that generated the usage cost.
feature
- The feature that generated the usage cost.UsageFeature
public UsageFeatureResult withFeature(UsageFeature feature)
The feature that generated the usage cost.
feature
- The feature that generated the usage cost.UsageFeature
public void setTotal(Total total)
total
- public Total getTotal()
public UsageFeatureResult withTotal(Total total)
total
- public String toString()
toString
in class Object
Object.toString()
public UsageFeatureResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.