Class ResourceCount
- java.lang.Object
-
- software.amazon.awssdk.services.resourceexplorer2.model.ResourceCount
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceCount.Builder,ResourceCount>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceCount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceCount.Builderbuilder()Booleancomplete()Indicates whether theTotalResourcesvalue represents an exhaustive count of search results.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ResourceCount.Builder>serializableBuilderClass()ResourceCount.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalResources()The number of resources that match the search query.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
complete
public final Boolean complete()
Indicates whether the
TotalResourcesvalue 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.
- Returns:
- Indicates whether the
TotalResourcesvalue 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
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
Completefield is set to false. We recommend that you refine your query to return a smaller number of results.- Returns:
- 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
Completefield is set to false. We recommend that you refine your query to return a smaller number of results.
-
toBuilder
public ResourceCount.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceCount.Builder,ResourceCount>
-
builder
public static ResourceCount.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceCount.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-