@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDiscoveredResourceCountsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDiscoveredResourceCountsResult() |
Modifier and Type | Method and Description |
---|---|
GetDiscoveredResourceCountsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The string that you use in a subsequent request to get the next page of results in a paginated response.
|
List<ResourceCount> |
getResourceCounts()
The list of
ResourceCount objects. |
Long |
getTotalDiscoveredResources()
The total number of resources that AWS Config is recording in the region for your account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
|
void |
setResourceCounts(Collection<ResourceCount> resourceCounts)
The list of
ResourceCount objects. |
void |
setTotalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that AWS Config is recording in the region for your account.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDiscoveredResourceCountsResult |
withNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
|
GetDiscoveredResourceCountsResult |
withResourceCounts(Collection<ResourceCount> resourceCounts)
The list of
ResourceCount objects. |
GetDiscoveredResourceCountsResult |
withResourceCounts(ResourceCount... resourceCounts)
The list of
ResourceCount objects. |
GetDiscoveredResourceCountsResult |
withTotalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that AWS Config is recording in the region for your account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTotalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that AWS Config is recording in the region for your account. If you specify resource types in the request, AWS Config returns only the total number of resources for those resource types.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
You make a call to the GetDiscoveredResourceCounts
action and specify the resource type,
"AWS::EC2::Instances"
in the request.
AWS Config returns 25 for totalDiscoveredResources
.
totalDiscoveredResources
- The total number of resources that AWS Config is recording in the region for your account. If you specify
resource types in the request, AWS Config returns only the total number of resources for those resource
types.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
You make a call to the GetDiscoveredResourceCounts
action and specify the resource type,
"AWS::EC2::Instances"
in the request.
AWS Config returns 25 for totalDiscoveredResources
.
public Long getTotalDiscoveredResources()
The total number of resources that AWS Config is recording in the region for your account. If you specify resource types in the request, AWS Config returns only the total number of resources for those resource types.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
You make a call to the GetDiscoveredResourceCounts
action and specify the resource type,
"AWS::EC2::Instances"
in the request.
AWS Config returns 25 for totalDiscoveredResources
.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
You make a call to the GetDiscoveredResourceCounts
action and specify the resource type,
"AWS::EC2::Instances"
in the request.
AWS Config returns 25 for totalDiscoveredResources
.
public GetDiscoveredResourceCountsResult withTotalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that AWS Config is recording in the region for your account. If you specify resource types in the request, AWS Config returns only the total number of resources for those resource types.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
You make a call to the GetDiscoveredResourceCounts
action and specify the resource type,
"AWS::EC2::Instances"
in the request.
AWS Config returns 25 for totalDiscoveredResources
.
totalDiscoveredResources
- The total number of resources that AWS Config is recording in the region for your account. If you specify
resource types in the request, AWS Config returns only the total number of resources for those resource
types.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets, for a total of 60 resources.
You make a call to the GetDiscoveredResourceCounts
action and specify the resource type,
"AWS::EC2::Instances"
in the request.
AWS Config returns 25 for totalDiscoveredResources
.
public List<ResourceCount> getResourceCounts()
The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.
ResourceCount
objects. Each object is listed in descending order by the number
of resources.public void setResourceCounts(Collection<ResourceCount> resourceCounts)
The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.
resourceCounts
- The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.public GetDiscoveredResourceCountsResult withResourceCounts(ResourceCount... resourceCounts)
The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.
NOTE: This method appends the values to the existing list (if any). Use
setResourceCounts(java.util.Collection)
or withResourceCounts(java.util.Collection)
if you want
to override the existing values.
resourceCounts
- The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.public GetDiscoveredResourceCountsResult withResourceCounts(Collection<ResourceCount> resourceCounts)
The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.
resourceCounts
- The list of ResourceCount
objects. Each object is listed in descending order by the number of
resources.public void setNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
nextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.public String getNextToken()
The string that you use in a subsequent request to get the next page of results in a paginated response.
public GetDiscoveredResourceCountsResult withNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
nextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.public String toString()
toString
in class Object
Object.toString()
public GetDiscoveredResourceCountsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.