@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageTopAccountsResult extends Object implements Serializable, Cloneable, StructuredPojo
Information about the usage statistics, calculated by top accounts by feature.
Constructor and Description |
---|
UsageTopAccountsResult() |
Modifier and Type | Method and Description |
---|---|
UsageTopAccountsResult |
clone() |
boolean |
equals(Object obj) |
List<UsageTopAccountResult> |
getAccounts()
The accounts that contributed to the total usage cost.
|
String |
getFeature()
Features by which you can generate the usage statistics.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccounts(Collection<UsageTopAccountResult> accounts)
The accounts that contributed to the total usage cost.
|
void |
setFeature(String feature)
Features by which you can generate the usage statistics.
|
String |
toString()
Returns a string representation of this object.
|
UsageTopAccountsResult |
withAccounts(Collection<UsageTopAccountResult> accounts)
The accounts that contributed to the total usage cost.
|
UsageTopAccountsResult |
withAccounts(UsageTopAccountResult... accounts)
The accounts that contributed to the total usage cost.
|
UsageTopAccountsResult |
withFeature(String feature)
Features by which you can generate the usage statistics.
|
UsageTopAccountsResult |
withFeature(UsageFeature feature)
Features by which you can generate the usage statistics.
|
public void setFeature(String feature)
Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported with topAccountsByFeature
.
feature
- Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported with topAccountsByFeature
.
UsageFeature
public String getFeature()
Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported with topAccountsByFeature
.
RDS_LOGIN_EVENTS
is currently not supported with topAccountsByFeature
.
UsageFeature
public UsageTopAccountsResult withFeature(String feature)
Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported with topAccountsByFeature
.
feature
- Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported with topAccountsByFeature
.
UsageFeature
public UsageTopAccountsResult withFeature(UsageFeature feature)
Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported with topAccountsByFeature
.
feature
- Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported with topAccountsByFeature
.
UsageFeature
public List<UsageTopAccountResult> getAccounts()
The accounts that contributed to the total usage cost.
public void setAccounts(Collection<UsageTopAccountResult> accounts)
The accounts that contributed to the total usage cost.
accounts
- The accounts that contributed to the total usage cost.public UsageTopAccountsResult withAccounts(UsageTopAccountResult... accounts)
The accounts that contributed to the total usage cost.
NOTE: This method appends the values to the existing list (if any). Use
setAccounts(java.util.Collection)
or withAccounts(java.util.Collection)
if you want to override
the existing values.
accounts
- The accounts that contributed to the total usage cost.public UsageTopAccountsResult withAccounts(Collection<UsageTopAccountResult> accounts)
The accounts that contributed to the total usage cost.
accounts
- The accounts that contributed to the total usage cost.public String toString()
toString
in class Object
Object.toString()
public UsageTopAccountsResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.