@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageStatisticsFilter extends Object implements Serializable, Cloneable, StructuredPojo
Specifies criteria for filtering the results of a query for account quotas and usage data.
| Constructor and Description |
|---|
UsageStatisticsFilter() |
| Modifier and Type | Method and Description |
|---|---|
UsageStatisticsFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The field to use to filter the results.
|
List<String> |
getValues()
An array that lists the AWS account ID for each account to include in the results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The field to use to filter the results.
|
void |
setValues(Collection<String> values)
An array that lists the AWS account ID for each account to include in the results.
|
String |
toString()
Returns a string representation of this object.
|
UsageStatisticsFilter |
withKey(String key)
The field to use to filter the results.
|
UsageStatisticsFilter |
withKey(UsageStatisticsFilterKey key)
The field to use to filter the results.
|
UsageStatisticsFilter |
withValues(Collection<String> values)
An array that lists the AWS account ID for each account to include in the results.
|
UsageStatisticsFilter |
withValues(String... values)
An array that lists the AWS account ID for each account to include in the results.
|
public void setKey(String key)
The field to use to filter the results. The only supported value is accountId.
key - The field to use to filter the results. The only supported value is accountId.UsageStatisticsFilterKeypublic String getKey()
The field to use to filter the results. The only supported value is accountId.
UsageStatisticsFilterKeypublic UsageStatisticsFilter withKey(String key)
The field to use to filter the results. The only supported value is accountId.
key - The field to use to filter the results. The only supported value is accountId.UsageStatisticsFilterKeypublic UsageStatisticsFilter withKey(UsageStatisticsFilterKey key)
The field to use to filter the results. The only supported value is accountId.
key - The field to use to filter the results. The only supported value is accountId.UsageStatisticsFilterKeypublic List<String> getValues()
An array that lists the AWS account ID for each account to include in the results.
public void setValues(Collection<String> values)
An array that lists the AWS account ID for each account to include in the results.
values - An array that lists the AWS account ID for each account to include in the results.public UsageStatisticsFilter withValues(String... values)
An array that lists the AWS account ID for each account to include in the results.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - An array that lists the AWS account ID for each account to include in the results.public UsageStatisticsFilter withValues(Collection<String> values)
An array that lists the AWS account ID for each account to include in the results.
values - An array that lists the AWS account ID for each account to include in the results.public String toString()
toString in class ObjectObject.toString()public UsageStatisticsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.