@Generated(value="software.amazon.awssdk:codegen") public final class ResourceCount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceCount.Builder,ResourceCount>
Information about the number of results that match the query. At this time, Amazon Web Services Resource Explorer doesn't count more than 1,000 matches for any query. This structure provides information about whether the query exceeded this limit.
This field is included in every page when you paginate the results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceCount.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceCount.Builder |
builder() |
Boolean |
complete()
Indicates whether the
TotalResources value represents an exhaustive count of search results. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceCount.Builder> |
serializableBuilderClass() |
ResourceCount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
totalResources()
The number of resources that match the search query.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean complete()
Indicates whether the TotalResources value represents an exhaustive count of search results.
If True, it indicates that the search was exhaustive. Every resource that matches the query was
counted.
If False, then the search reached the limit of 1,000 matching results, and stopped counting.
TotalResources value represents an exhaustive count of search
results.
If True, it indicates that the search was exhaustive. Every resource that matches the query
was counted.
If False, then the search reached the limit of 1,000 matching results, and stopped counting.
public final Long totalResources()
The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000
resources that match the query, then only 1,000 are counted and the Complete field is set to false.
We recommend that you refine your query to return a smaller number of results.
Complete
field is set to false. We recommend that you refine your query to return a smaller number of results.public ResourceCount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceCount.Builder,ResourceCount>public static ResourceCount.Builder builder()
public static Class<? extends ResourceCount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.