public static interface GetDiscoveredResourceCountsResponse.Builder extends ConfigResponse.Builder, SdkPojo, CopyableBuilder<GetDiscoveredResourceCountsResponse.Builder,GetDiscoveredResourceCountsResponse>
Modifier and Type | Method and Description |
---|---|
GetDiscoveredResourceCountsResponse.Builder |
nextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
|
GetDiscoveredResourceCountsResponse.Builder |
resourceCounts(Collection<ResourceCount> resourceCounts)
The list of
ResourceCount objects. |
GetDiscoveredResourceCountsResponse.Builder |
resourceCounts(Consumer<ResourceCount.Builder>... resourceCounts)
The list of
ResourceCount objects. |
GetDiscoveredResourceCountsResponse.Builder |
resourceCounts(ResourceCount... resourceCounts)
The list of
ResourceCount objects. |
GetDiscoveredResourceCountsResponse.Builder |
totalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that AWS Config is recording in the region for your account.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetDiscoveredResourceCountsResponse.Builder totalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that AWS Config is recording in the region for your account. If you specify resource types in the request, AWS Config returns only the total number of resources for those resource types.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
You make a call to the GetDiscoveredResourceCounts
action and specify the resource type,
"AWS::EC2::Instances"
, in the request.
AWS Config returns 25 for totalDiscoveredResources
.
totalDiscoveredResources
- The total number of resources that AWS Config is recording in the region for your account. If you
specify resource types in the request, AWS Config returns only the total number of resources for those
resource types.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
You make a call to the GetDiscoveredResourceCounts
action and specify the resource type,
"AWS::EC2::Instances"
, in the request.
AWS Config returns 25 for totalDiscoveredResources
.
GetDiscoveredResourceCountsResponse.Builder resourceCounts(Collection<ResourceCount> resourceCounts)
The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.
resourceCounts
- The list of ResourceCount
objects. Each object is listed in descending order by the
number of resources.GetDiscoveredResourceCountsResponse.Builder resourceCounts(ResourceCount... resourceCounts)
The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.
resourceCounts
- The list of ResourceCount
objects. Each object is listed in descending order by the
number of resources.GetDiscoveredResourceCountsResponse.Builder resourceCounts(Consumer<ResourceCount.Builder>... resourceCounts)
The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #resourceCounts(List)
.resourceCounts
- a consumer that will call methods on List.Builder
#resourceCounts(List)
GetDiscoveredResourceCountsResponse.Builder nextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
nextToken
- The string that you use in a subsequent request to get the next page of results in a paginated
response.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.