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.ThenextTokenstring 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
resourceTypesis 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
resourceTypesis 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
resourceTypesis 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
resourceTypesis 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
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-