@Generated(value="software.amazon.awssdk:codegen") public final class UsageCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsageCriteria.Builder,UsageCriteria>
Contains information about the criteria used to query usage statistics.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UsageCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
accountIds()
The account IDs to aggregate usage statistics from.
|
static UsageCriteria.Builder |
builder() |
List<DataSource> |
dataSources()
The data sources to aggregate usage statistics from.
|
List<String> |
dataSourcesAsStrings()
The data sources to aggregate usage statistics from.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccountIds()
Returns true if the AccountIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasDataSources()
Returns true if the DataSources property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasResources()
Returns true if the Resources property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<String> |
resources()
The resources to aggregate usage statistics from.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UsageCriteria.Builder> |
serializableBuilderClass() |
UsageCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAccountIds()
public final List<String> accountIds()
The account IDs to aggregate usage statistics from.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAccountIds() to see if a value was sent in this field.
public final List<DataSource> dataSources()
The data sources to aggregate usage statistics from.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDataSources() to see if a value was sent in this field.
public final boolean hasDataSources()
public final List<String> dataSourcesAsStrings()
The data sources to aggregate usage statistics from.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDataSources() to see if a value was sent in this field.
public final boolean hasResources()
public final List<String> resources()
The resources to aggregate usage statistics from. Only accepts exact resource names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResources() to see if a value was sent in this field.
public UsageCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UsageCriteria.Builder,UsageCriteria>public static UsageCriteria.Builder builder()
public static Class<? extends UsageCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.