@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDiscoveredResourceCountsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDiscoveredResourceCountsRequest() |
Modifier and Type | Method and Description |
---|---|
GetDiscoveredResourceCountsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of ResourceCount objects returned on each page.
|
String |
getNextToken()
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
List<String> |
getResourceTypes()
The comma-separated list that specifies the resource types that you want the AWS Config to return.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of ResourceCount objects returned on each page.
|
void |
setNextToken(String nextToken)
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
void |
setResourceTypes(Collection<String> resourceTypes)
The comma-separated list that specifies the resource types that you want the AWS Config to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDiscoveredResourceCountsRequest |
withLimit(Integer limit)
The maximum number of ResourceCount objects returned on each page.
|
GetDiscoveredResourceCountsRequest |
withNextToken(String nextToken)
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
GetDiscoveredResourceCountsRequest |
withResourceTypes(Collection<String> resourceTypes)
The comma-separated list that specifies the resource types that you want the AWS Config to return.
|
GetDiscoveredResourceCountsRequest |
withResourceTypes(String... resourceTypes)
The comma-separated list that specifies the resource types that you want the AWS Config to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getResourceTypes()
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.
"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 void setResourceTypes(Collection<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.
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.
public GetDiscoveredResourceCountsRequest withResourceTypes(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.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection)
or withResourceTypes(java.util.Collection)
if you want
to override the existing values.
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.
public GetDiscoveredResourceCountsRequest withResourceTypes(Collection<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.
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.
public void setLimit(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.
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 Integer getLimit()
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 GetDiscoveredResourceCountsRequest withLimit(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.
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 void setNextToken(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
- The nextToken
string returned on a previous page that you use to get the next page of results
in a paginated response.public String getNextToken()
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 withNextToken(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
- The nextToken
string returned on a previous page that you use to get the next page of results
in a paginated response.public String toString()
toString
in class Object
Object.toString()
public GetDiscoveredResourceCountsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.