@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAggregateDiscoveredResourceCountsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAggregateDiscoveredResourceCountsResult() |
Modifier and Type | Method and Description |
---|---|
GetAggregateDiscoveredResourceCountsResult |
clone() |
boolean |
equals(Object obj) |
String |
getGroupByKey()
The key passed into the request object.
|
List<GroupedResourceCount> |
getGroupedResourceCounts()
Returns a list of GroupedResourceCount objects.
|
String |
getNextToken()
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
Long |
getTotalDiscoveredResources()
The total number of resources that are present in an aggregator with the filters that you provide.
|
int |
hashCode() |
void |
setGroupByKey(String groupByKey)
The key passed into the request object.
|
void |
setGroupedResourceCounts(Collection<GroupedResourceCount> groupedResourceCounts)
Returns a list of GroupedResourceCount objects.
|
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 |
setTotalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that are present in an aggregator with the filters that you provide.
|
String |
toString()
Returns a string representation of this object.
|
GetAggregateDiscoveredResourceCountsResult |
withGroupByKey(String groupByKey)
The key passed into the request object.
|
GetAggregateDiscoveredResourceCountsResult |
withGroupedResourceCounts(Collection<GroupedResourceCount> groupedResourceCounts)
Returns a list of GroupedResourceCount objects.
|
GetAggregateDiscoveredResourceCountsResult |
withGroupedResourceCounts(GroupedResourceCount... groupedResourceCounts)
Returns a list of GroupedResourceCount objects.
|
GetAggregateDiscoveredResourceCountsResult |
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. |
GetAggregateDiscoveredResourceCountsResult |
withTotalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that are present in an aggregator with the filters that you provide.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetAggregateDiscoveredResourceCountsResult()
public void setTotalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that are present in an aggregator with the filters that you provide.
totalDiscoveredResources
- The total number of resources that are present in an aggregator with the filters that you provide.public Long getTotalDiscoveredResources()
The total number of resources that are present in an aggregator with the filters that you provide.
public GetAggregateDiscoveredResourceCountsResult withTotalDiscoveredResources(Long totalDiscoveredResources)
The total number of resources that are present in an aggregator with the filters that you provide.
totalDiscoveredResources
- The total number of resources that are present in an aggregator with the filters that you provide.public void setGroupByKey(String groupByKey)
The key passed into the request object. If GroupByKey
is not provided, the result will be empty.
groupByKey
- The key passed into the request object. If GroupByKey
is not provided, the result will be
empty.public String getGroupByKey()
The key passed into the request object. If GroupByKey
is not provided, the result will be empty.
GroupByKey
is not provided, the result will be
empty.public GetAggregateDiscoveredResourceCountsResult withGroupByKey(String groupByKey)
The key passed into the request object. If GroupByKey
is not provided, the result will be empty.
groupByKey
- The key passed into the request object. If GroupByKey
is not provided, the result will be
empty.public List<GroupedResourceCount> getGroupedResourceCounts()
Returns a list of GroupedResourceCount objects.
public void setGroupedResourceCounts(Collection<GroupedResourceCount> groupedResourceCounts)
Returns a list of GroupedResourceCount objects.
groupedResourceCounts
- Returns a list of GroupedResourceCount objects.public GetAggregateDiscoveredResourceCountsResult withGroupedResourceCounts(GroupedResourceCount... groupedResourceCounts)
Returns a list of GroupedResourceCount objects.
NOTE: This method appends the values to the existing list (if any). Use
setGroupedResourceCounts(java.util.Collection)
or
withGroupedResourceCounts(java.util.Collection)
if you want to override the existing values.
groupedResourceCounts
- Returns a list of GroupedResourceCount objects.public GetAggregateDiscoveredResourceCountsResult withGroupedResourceCounts(Collection<GroupedResourceCount> groupedResourceCounts)
Returns a list of GroupedResourceCount objects.
groupedResourceCounts
- Returns a list of GroupedResourceCount objects.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 GetAggregateDiscoveredResourceCountsResult 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 GetAggregateDiscoveredResourceCountsResult clone()