Interface GetDiscoveredResourceCountsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConfigRequest.Builder
,CopyableBuilder<GetDiscoveredResourceCountsRequest.Builder,
,GetDiscoveredResourceCountsRequest> SdkBuilder<GetDiscoveredResourceCountsRequest.Builder,
,GetDiscoveredResourceCountsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetDiscoveredResourceCountsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of ResourceCount objects returned on each page.ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceTypes
(String... resourceTypes) The comma-separated list that specifies the resource types that you want Config to return (for example,"AWS::EC2::Instance"
,"AWS::IAM::User"
).resourceTypes
(Collection<String> resourceTypes) The comma-separated list that specifies the resource types that you want Config to return (for example,"AWS::EC2::Instance"
,"AWS::IAM::User"
).Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
build
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 Details
-
resourceTypes
The comma-separated list that specifies the resource types that you want Config to return (for example,
"AWS::EC2::Instance"
,"AWS::IAM::User"
).If a value for
resourceTypes
is not specified, Config returns all resource types that Config is recording in the region for your account.If the configuration recorder is turned off, Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
- Parameters:
resourceTypes
- The comma-separated list that specifies the resource types that you want Config to return (for example,"AWS::EC2::Instance"
,"AWS::IAM::User"
).If a value for
resourceTypes
is not specified, Config returns all resource types that Config is recording in the region for your account.If the configuration recorder is turned off, Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The comma-separated list that specifies the resource types that you want Config to return (for example,
"AWS::EC2::Instance"
,"AWS::IAM::User"
).If a value for
resourceTypes
is not specified, Config returns all resource types that Config is recording in the region for your account.If the configuration recorder is turned off, Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
- Parameters:
resourceTypes
- The comma-separated list that specifies the resource types that you want Config to return (for example,"AWS::EC2::Instance"
,"AWS::IAM::User"
).If a value for
resourceTypes
is not specified, Config returns all resource types that Config is recording in the region for your account.If the configuration recorder is turned off, Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
- Parameters:
limit
- The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, Config uses the default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken
- ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetDiscoveredResourceCountsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetDiscoveredResourceCountsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-