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 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

      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 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 - The nextToken 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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.