Interface ResourceCount.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceCount.Builder,ResourceCount>,SdkBuilder<ResourceCount.Builder,ResourceCount>,SdkPojo
- Enclosing class:
- ResourceCount
public static interface ResourceCount.Builder extends SdkPojo, CopyableBuilder<ResourceCount.Builder,ResourceCount>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceCount.Buildercomplete(Boolean complete)Indicates whether theTotalResourcesvalue represents an exhaustive count of search results.ResourceCount.BuildertotalResources(Long totalResources)The number of resources that match the search query.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
complete
ResourceCount.Builder complete(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.
- Parameters:
complete- Indicates whether theTotalResourcesvalue 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:
- Returns a reference to this object so that method calls can be chained together.
-
-
totalResources
ResourceCount.Builder totalResources(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.- Parameters:
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 theCompletefield is set to false. We recommend that you refine your query to return a smaller number of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-