Interface GetDiscoveredResourceCountsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<GetDiscoveredResourceCountsRequest.Builder,GetDiscoveredResourceCountsRequest>,SdkBuilder<GetDiscoveredResourceCountsRequest.Builder,GetDiscoveredResourceCountsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetDiscoveredResourceCountsRequest
public static interface GetDiscoveredResourceCountsRequest.Builder extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<GetDiscoveredResourceCountsRequest.Builder,GetDiscoveredResourceCountsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDiscoveredResourceCountsRequest.Builderlimit(Integer limit)The maximum number of ResourceCount objects returned on each page.GetDiscoveredResourceCountsRequest.BuildernextToken(String nextToken)ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.GetDiscoveredResourceCountsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetDiscoveredResourceCountsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetDiscoveredResourceCountsRequest.BuilderresourceTypes(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").GetDiscoveredResourceCountsRequest.BuilderresourceTypes(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 Detail
-
resourceTypes
GetDiscoveredResourceCountsRequest.Builder 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").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
GetDiscoveredResourceCountsRequest.Builder 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").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
GetDiscoveredResourceCountsRequest.Builder limit(Integer 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
GetDiscoveredResourceCountsRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetDiscoveredResourceCountsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-