@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageDataSourceResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the result of usage based on data source type.
| Constructor and Description |
|---|
UsageDataSourceResult() |
| Modifier and Type | Method and Description |
|---|---|
UsageDataSourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getDataSource()
The data source type that generated usage.
|
Total |
getTotal()
Represents the total of usage for the specified data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataSource(String dataSource)
The data source type that generated usage.
|
void |
setTotal(Total total)
Represents the total of usage for the specified data source.
|
String |
toString()
Returns a string representation of this object.
|
UsageDataSourceResult |
withDataSource(DataSource dataSource)
The data source type that generated usage.
|
UsageDataSourceResult |
withDataSource(String dataSource)
The data source type that generated usage.
|
UsageDataSourceResult |
withTotal(Total total)
Represents the total of usage for the specified data source.
|
public void setDataSource(String dataSource)
The data source type that generated usage.
dataSource - The data source type that generated usage.DataSourcepublic String getDataSource()
The data source type that generated usage.
DataSourcepublic UsageDataSourceResult withDataSource(String dataSource)
The data source type that generated usage.
dataSource - The data source type that generated usage.DataSourcepublic UsageDataSourceResult withDataSource(DataSource dataSource)
The data source type that generated usage.
dataSource - The data source type that generated usage.DataSourcepublic void setTotal(Total total)
Represents the total of usage for the specified data source.
total - Represents the total of usage for the specified data source.public Total getTotal()
Represents the total of usage for the specified data source.
public UsageDataSourceResult withTotal(Total total)
Represents the total of usage for the specified data source.
total - Represents the total of usage for the specified data source.public String toString()
toString in class ObjectObject.toString()public UsageDataSourceResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.