@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()
Deprecated.
|
List<String> |
getFeatures()
The features 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)
Deprecated.
|
void |
setFeatures(Collection<String> features)
The features 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)
Deprecated.
|
UsageCriteria |
withDataSources(DataSource... dataSources)
Deprecated.
|
UsageCriteria |
withDataSources(String... dataSources)
Deprecated.
|
UsageCriteria |
withFeatures(Collection<String> features)
The features to aggregate usage statistics from.
|
UsageCriteria |
withFeatures(String... features)
The features to aggregate usage statistics from.
|
UsageCriteria |
withFeatures(UsageFeature... features)
The features 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.@Deprecated public List<String> getDataSources()
The data sources to aggregate usage statistics from.
DataSource
@Deprecated public void setDataSources(Collection<String> dataSources)
The data sources to aggregate usage statistics from.
dataSources
- The data sources to aggregate usage statistics from.DataSource
@Deprecated 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
@Deprecated public UsageCriteria withDataSources(Collection<String> dataSources)
The data sources to aggregate usage statistics from.
dataSources
- The data sources to aggregate usage statistics from.DataSource
@Deprecated 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 List<String> getFeatures()
The features to aggregate usage statistics from.
UsageFeature
public void setFeatures(Collection<String> features)
The features to aggregate usage statistics from.
features
- The features to aggregate usage statistics from.UsageFeature
public UsageCriteria withFeatures(String... features)
The features to aggregate usage statistics from.
NOTE: This method appends the values to the existing list (if any). Use
setFeatures(java.util.Collection)
or withFeatures(java.util.Collection)
if you want to override
the existing values.
features
- The features to aggregate usage statistics from.UsageFeature
public UsageCriteria withFeatures(Collection<String> features)
The features to aggregate usage statistics from.
features
- The features to aggregate usage statistics from.UsageFeature
public UsageCriteria withFeatures(UsageFeature... features)
The features to aggregate usage statistics from.
features
- The features to aggregate usage statistics from.UsageFeature
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.