@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageStatistics extends Object implements Serializable, Cloneable, StructuredPojo
Contains the result of GuardDuty usage. If a UsageStatisticType is provided the result for other types will be null.
Constructor and Description |
---|
UsageStatistics() |
Modifier and Type | Method and Description |
---|---|
UsageStatistics |
clone() |
boolean |
equals(Object obj) |
List<UsageAccountResult> |
getSumByAccount()
The usage statistic sum organized by account ID.
|
List<UsageDataSourceResult> |
getSumByDataSource()
The usage statistic sum organized by on data source.
|
List<UsageFeatureResult> |
getSumByFeature()
The usage statistic sum organized by feature.
|
List<UsageResourceResult> |
getSumByResource()
The usage statistic sum organized by resource.
|
List<UsageTopAccountsResult> |
getTopAccountsByFeature()
Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to
least expensive.
|
List<UsageResourceResult> |
getTopResources()
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSumByAccount(Collection<UsageAccountResult> sumByAccount)
The usage statistic sum organized by account ID.
|
void |
setSumByDataSource(Collection<UsageDataSourceResult> sumByDataSource)
The usage statistic sum organized by on data source.
|
void |
setSumByFeature(Collection<UsageFeatureResult> sumByFeature)
The usage statistic sum organized by feature.
|
void |
setSumByResource(Collection<UsageResourceResult> sumByResource)
The usage statistic sum organized by resource.
|
void |
setTopAccountsByFeature(Collection<UsageTopAccountsResult> topAccountsByFeature)
Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to
least expensive.
|
void |
setTopResources(Collection<UsageResourceResult> topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
|
String |
toString()
Returns a string representation of this object.
|
UsageStatistics |
withSumByAccount(Collection<UsageAccountResult> sumByAccount)
The usage statistic sum organized by account ID.
|
UsageStatistics |
withSumByAccount(UsageAccountResult... sumByAccount)
The usage statistic sum organized by account ID.
|
UsageStatistics |
withSumByDataSource(Collection<UsageDataSourceResult> sumByDataSource)
The usage statistic sum organized by on data source.
|
UsageStatistics |
withSumByDataSource(UsageDataSourceResult... sumByDataSource)
The usage statistic sum organized by on data source.
|
UsageStatistics |
withSumByFeature(Collection<UsageFeatureResult> sumByFeature)
The usage statistic sum organized by feature.
|
UsageStatistics |
withSumByFeature(UsageFeatureResult... sumByFeature)
The usage statistic sum organized by feature.
|
UsageStatistics |
withSumByResource(Collection<UsageResourceResult> sumByResource)
The usage statistic sum organized by resource.
|
UsageStatistics |
withSumByResource(UsageResourceResult... sumByResource)
The usage statistic sum organized by resource.
|
UsageStatistics |
withTopAccountsByFeature(Collection<UsageTopAccountsResult> topAccountsByFeature)
Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to
least expensive.
|
UsageStatistics |
withTopAccountsByFeature(UsageTopAccountsResult... topAccountsByFeature)
Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to
least expensive.
|
UsageStatistics |
withTopResources(Collection<UsageResourceResult> topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
|
UsageStatistics |
withTopResources(UsageResourceResult... topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
|
public List<UsageAccountResult> getSumByAccount()
The usage statistic sum organized by account ID.
public void setSumByAccount(Collection<UsageAccountResult> sumByAccount)
The usage statistic sum organized by account ID.
sumByAccount
- The usage statistic sum organized by account ID.public UsageStatistics withSumByAccount(UsageAccountResult... sumByAccount)
The usage statistic sum organized by account ID.
NOTE: This method appends the values to the existing list (if any). Use
setSumByAccount(java.util.Collection)
or withSumByAccount(java.util.Collection)
if you want to
override the existing values.
sumByAccount
- The usage statistic sum organized by account ID.public UsageStatistics withSumByAccount(Collection<UsageAccountResult> sumByAccount)
The usage statistic sum organized by account ID.
sumByAccount
- The usage statistic sum organized by account ID.public List<UsageTopAccountsResult> getTopAccountsByFeature()
Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.
Currently, this doesn't support RDS_LOGIN_EVENTS
.
Currently, this doesn't support RDS_LOGIN_EVENTS
.
public void setTopAccountsByFeature(Collection<UsageTopAccountsResult> topAccountsByFeature)
Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.
Currently, this doesn't support RDS_LOGIN_EVENTS
.
topAccountsByFeature
- Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most
to least expensive.
Currently, this doesn't support RDS_LOGIN_EVENTS
.
public UsageStatistics withTopAccountsByFeature(UsageTopAccountsResult... topAccountsByFeature)
Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.
Currently, this doesn't support RDS_LOGIN_EVENTS
.
NOTE: This method appends the values to the existing list (if any). Use
setTopAccountsByFeature(java.util.Collection)
or withTopAccountsByFeature(java.util.Collection)
if you want to override the existing values.
topAccountsByFeature
- Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most
to least expensive.
Currently, this doesn't support RDS_LOGIN_EVENTS
.
public UsageStatistics withTopAccountsByFeature(Collection<UsageTopAccountsResult> topAccountsByFeature)
Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.
Currently, this doesn't support RDS_LOGIN_EVENTS
.
topAccountsByFeature
- Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most
to least expensive.
Currently, this doesn't support RDS_LOGIN_EVENTS
.
public List<UsageDataSourceResult> getSumByDataSource()
The usage statistic sum organized by on data source.
public void setSumByDataSource(Collection<UsageDataSourceResult> sumByDataSource)
The usage statistic sum organized by on data source.
sumByDataSource
- The usage statistic sum organized by on data source.public UsageStatistics withSumByDataSource(UsageDataSourceResult... sumByDataSource)
The usage statistic sum organized by on data source.
NOTE: This method appends the values to the existing list (if any). Use
setSumByDataSource(java.util.Collection)
or withSumByDataSource(java.util.Collection)
if you
want to override the existing values.
sumByDataSource
- The usage statistic sum organized by on data source.public UsageStatistics withSumByDataSource(Collection<UsageDataSourceResult> sumByDataSource)
The usage statistic sum organized by on data source.
sumByDataSource
- The usage statistic sum organized by on data source.public List<UsageResourceResult> getSumByResource()
The usage statistic sum organized by resource.
public void setSumByResource(Collection<UsageResourceResult> sumByResource)
The usage statistic sum organized by resource.
sumByResource
- The usage statistic sum organized by resource.public UsageStatistics withSumByResource(UsageResourceResult... sumByResource)
The usage statistic sum organized by resource.
NOTE: This method appends the values to the existing list (if any). Use
setSumByResource(java.util.Collection)
or withSumByResource(java.util.Collection)
if you want
to override the existing values.
sumByResource
- The usage statistic sum organized by resource.public UsageStatistics withSumByResource(Collection<UsageResourceResult> sumByResource)
The usage statistic sum organized by resource.
sumByResource
- The usage statistic sum organized by resource.public List<UsageResourceResult> getTopResources()
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
public void setTopResources(Collection<UsageResourceResult> topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
topResources
- Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least
expensive.public UsageStatistics withTopResources(UsageResourceResult... topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
NOTE: This method appends the values to the existing list (if any). Use
setTopResources(java.util.Collection)
or withTopResources(java.util.Collection)
if you want to
override the existing values.
topResources
- Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least
expensive.public UsageStatistics withTopResources(Collection<UsageResourceResult> topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
topResources
- Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least
expensive.public List<UsageFeatureResult> getSumByFeature()
The usage statistic sum organized by feature.
public void setSumByFeature(Collection<UsageFeatureResult> sumByFeature)
The usage statistic sum organized by feature.
sumByFeature
- The usage statistic sum organized by feature.public UsageStatistics withSumByFeature(UsageFeatureResult... sumByFeature)
The usage statistic sum organized by feature.
NOTE: This method appends the values to the existing list (if any). Use
setSumByFeature(java.util.Collection)
or withSumByFeature(java.util.Collection)
if you want to
override the existing values.
sumByFeature
- The usage statistic sum organized by feature.public UsageStatistics withSumByFeature(Collection<UsageFeatureResult> sumByFeature)
The usage statistic sum organized by feature.
sumByFeature
- The usage statistic sum organized by feature.public String toString()
toString
in class Object
Object.toString()
public UsageStatistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.