@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the criteria used to query usage statistics.
Constructor and Description |
---|
UsageCriteria() |
Modifier and Type | Method and Description |
---|---|
UsageCriteria |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The account IDs to aggregate usage statistics from.
|
List<String> |
getDataSources()
The data sources to aggregate usage statistics from.
|
List<String> |
getResources()
The resources to aggregate usage statistics from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountIds(Collection<String> accountIds)
The account IDs to aggregate usage statistics from.
|
void |
setDataSources(Collection<String> dataSources)
The data sources to aggregate usage statistics from.
|
void |
setResources(Collection<String> resources)
The resources to aggregate usage statistics from.
|
String |
toString()
Returns a string representation of this object.
|
UsageCriteria |
withAccountIds(Collection<String> accountIds)
The account IDs to aggregate usage statistics from.
|
UsageCriteria |
withAccountIds(String... accountIds)
The account IDs to aggregate usage statistics from.
|
UsageCriteria |
withDataSources(Collection<String> dataSources)
The data sources to aggregate usage statistics from.
|
UsageCriteria |
withDataSources(DataSource... dataSources)
The data sources to aggregate usage statistics from.
|
UsageCriteria |
withDataSources(String... dataSources)
The data sources to aggregate usage statistics from.
|
UsageCriteria |
withResources(Collection<String> resources)
The resources to aggregate usage statistics from.
|
UsageCriteria |
withResources(String... resources)
The resources to aggregate usage statistics from.
|
public List<String> getAccountIds()
The account IDs to aggregate usage statistics from.
public void setAccountIds(Collection<String> accountIds)
The account IDs to aggregate usage statistics from.
accountIds
- The account IDs to aggregate usage statistics from.public UsageCriteria withAccountIds(String... accountIds)
The account IDs to aggregate usage statistics from.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The account IDs to aggregate usage statistics from.public UsageCriteria withAccountIds(Collection<String> accountIds)
The account IDs to aggregate usage statistics from.
accountIds
- The account IDs to aggregate usage statistics from.public List<String> getDataSources()
The data sources to aggregate usage statistics from.
DataSource
public void setDataSources(Collection<String> dataSources)
The data sources to aggregate usage statistics from.
dataSources
- The data sources to aggregate usage statistics from.DataSource
public UsageCriteria withDataSources(String... dataSources)
The data sources to aggregate usage statistics from.
NOTE: This method appends the values to the existing list (if any). Use
setDataSources(java.util.Collection)
or withDataSources(java.util.Collection)
if you want to
override the existing values.
dataSources
- The data sources to aggregate usage statistics from.DataSource
public UsageCriteria withDataSources(Collection<String> dataSources)
The data sources to aggregate usage statistics from.
dataSources
- The data sources to aggregate usage statistics from.DataSource
public UsageCriteria withDataSources(DataSource... dataSources)
The data sources to aggregate usage statistics from.
dataSources
- The data sources to aggregate usage statistics from.DataSource
public List<String> getResources()
The resources to aggregate usage statistics from. Only accepts exact resource names.
public void setResources(Collection<String> resources)
The resources to aggregate usage statistics from. Only accepts exact resource names.
resources
- The resources to aggregate usage statistics from. Only accepts exact resource names.public UsageCriteria withResources(String... resources)
The resources to aggregate usage statistics from. Only accepts exact resource names.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- The resources to aggregate usage statistics from. Only accepts exact resource names.public UsageCriteria withResources(Collection<String> resources)
The resources to aggregate usage statistics from. Only accepts exact resource names.
resources
- The resources to aggregate usage statistics from. Only accepts exact resource names.public String toString()
toString
in class Object
Object.toString()
public UsageCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.