@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageResourceResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the sum of usage based on an AWS resource.
| Constructor and Description |
|---|
UsageResourceResult() |
| Modifier and Type | Method and Description |
|---|---|
UsageResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getResource()
The AWS resource that generated usage.
|
Total |
getTotal()
Represents the sum total of usage for the specified resource type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setResource(String resource)
The AWS resource that generated usage.
|
void |
setTotal(Total total)
Represents the sum total of usage for the specified resource type.
|
String |
toString()
Returns a string representation of this object.
|
UsageResourceResult |
withResource(String resource)
The AWS resource that generated usage.
|
UsageResourceResult |
withTotal(Total total)
Represents the sum total of usage for the specified resource type.
|
public void setResource(String resource)
The AWS resource that generated usage.
resource - The AWS resource that generated usage.public String getResource()
The AWS resource that generated usage.
public UsageResourceResult withResource(String resource)
The AWS resource that generated usage.
resource - The AWS resource that generated usage.public void setTotal(Total total)
Represents the sum total of usage for the specified resource type.
total - Represents the sum total of usage for the specified resource type.public Total getTotal()
Represents the sum total of usage for the specified resource type.
public UsageResourceResult withTotal(Total total)
Represents the sum total of usage for the specified resource type.
total - Represents the sum total of usage for the specified resource type.public String toString()
toString in class ObjectObject.toString()public UsageResourceResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.