@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceCount extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ResourceCount() |
Modifier and Type | Method and Description |
---|---|
ResourceCount |
clone() |
boolean |
equals(Object obj) |
Boolean |
getComplete()
Indicates whether the
TotalResources value represents an exhaustive count of search results. |
Long |
getTotalResources()
The number of resources that match the search query.
|
int |
hashCode() |
Boolean |
isComplete()
Indicates whether the
TotalResources value represents an exhaustive count of search results. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComplete(Boolean complete)
Indicates whether the
TotalResources value represents an exhaustive count of search results. |
void |
setTotalResources(Long totalResources)
The number of resources that match the search query.
|
String |
toString()
Returns a string representation of this object.
|
ResourceCount |
withComplete(Boolean complete)
Indicates whether the
TotalResources value represents an exhaustive count of search results. |
ResourceCount |
withTotalResources(Long totalResources)
The number of resources that match the search query.
|
public void setComplete(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.
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.
public Boolean getComplete()
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 ResourceCount withComplete(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.
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.
public Boolean isComplete()
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 void setTotalResources(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.
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.public Long getTotalResources()
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 withTotalResources(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.
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.public String toString()
toString
in class Object
Object.toString()
public ResourceCount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.