@Generated(value="software.amazon.awssdk:codegen") public final class GetDiscoveredResourceCountsRequest extends ConfigRequest implements ToCopyableBuilder<GetDiscoveredResourceCountsRequest.Builder,GetDiscoveredResourceCountsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetDiscoveredResourceCountsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetDiscoveredResourceCountsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
limit()
The maximum number of ResourceCount objects returned on each page.
|
String |
nextToken()
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
List<String> |
resourceTypes()
The comma-separated list that specifies the resource types that you want the AWS Config to return.
|
static Class<? extends GetDiscoveredResourceCountsRequest.Builder> |
serializableBuilderClass() |
GetDiscoveredResourceCountsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<String> resourceTypes()
The comma-separated list that specifies the resource types that you want the AWS Config to return. For example, (
"AWS::EC2::Instance"
, "AWS::IAM::User"
).
If a value for resourceTypes
is not specified, AWS Config returns all resource types that AWS Config
is recording in the region for your account.
If the configuration recorder is turned off, AWS 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
"AWS::EC2::Instance"
, "AWS::IAM::User"
).
If a value for resourceTypes
is not specified, AWS Config returns all resource types that
AWS Config is recording in the region for your account.
If the configuration recorder is turned off, AWS 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.
public Integer limit()
The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
public String nextToken()
The nextToken
string returned on a previous page that you use to get the next page of results in a
paginated response.
nextToken
string returned on a previous page that you use to get the next page of
results in a paginated response.public GetDiscoveredResourceCountsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetDiscoveredResourceCountsRequest.Builder,GetDiscoveredResourceCountsRequest>
toBuilder
in class ConfigRequest
public static GetDiscoveredResourceCountsRequest.Builder builder()
public static Class<? extends GetDiscoveredResourceCountsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.