Class ListDiscoveredResourcesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Specifies whether AWS Config includes deleted resources in the results.getLimit()
The maximum number of resource identifiers returned on each page.ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.The IDs of only those resources that you want AWS Config to list in the response.The custom name of only those resources that you want AWS Config to list in the response.The type of resources that you want AWS Config to list in the response.int
hashCode()
Specifies whether AWS Config includes deleted resources in the results.void
setIncludeDeletedResources
(Boolean includeDeletedResources) Specifies whether AWS Config includes deleted resources in the results.void
The maximum number of resource identifiers returned on each page.void
setNextToken
(String nextToken) ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.void
setResourceIds
(Collection<String> resourceIds) The IDs of only those resources that you want AWS Config to list in the response.void
setResourceName
(String resourceName) The custom name of only those resources that you want AWS Config to list in the response.void
setResourceType
(ResourceType resourceType) The type of resources that you want AWS Config to list in the response.void
setResourceType
(String resourceType) The type of resources that you want AWS Config to list in the response.toString()
Returns a string representation of this object; useful for testing and debugging.withIncludeDeletedResources
(Boolean includeDeletedResources) Specifies whether AWS Config includes deleted resources in the results.The maximum number of resource identifiers returned on each page.withNextToken
(String nextToken) ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.withResourceIds
(String... resourceIds) The IDs of only those resources that you want AWS Config to list in the response.withResourceIds
(Collection<String> resourceIds) The IDs of only those resources that you want AWS Config to list in the response.withResourceName
(String resourceName) The custom name of only those resources that you want AWS Config to list in the response.withResourceType
(ResourceType resourceType) The type of resources that you want AWS Config to list in the response.withResourceType
(String resourceType) The type of resources that you want AWS Config to list in the response.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListDiscoveredResourcesRequest
public ListDiscoveredResourcesRequest()
-
-
Method Details
-
setResourceType
The type of resources that you want AWS Config to list in the response.
- Parameters:
resourceType
- The type of resources that you want AWS Config to list in the response.- See Also:
-
getResourceType
The type of resources that you want AWS Config to list in the response.
- Returns:
- The type of resources that you want AWS Config to list in the response.
- See Also:
-
withResourceType
The type of resources that you want AWS Config to list in the response.
- Parameters:
resourceType
- The type of resources that you want AWS Config to list in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceType
The type of resources that you want AWS Config to list in the response.
- Parameters:
resourceType
- The type of resources that you want AWS Config to list in the response.- See Also:
-
withResourceType
The type of resources that you want AWS Config to list in the response.
- Parameters:
resourceType
- The type of resources that you want AWS Config to list in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getResourceIds
The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
- Returns:
- The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
-
setResourceIds
The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
- Parameters:
resourceIds
- The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
-
withResourceIds
The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)
orwithResourceIds(java.util.Collection)
if you want to override the existing values.- Parameters:
resourceIds
- The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withResourceIds
The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
- Parameters:
resourceIds
- The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceName
The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
- Parameters:
resourceName
- The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
-
getResourceName
The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
- Returns:
- The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
-
withResourceName
The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.
- Parameters:
resourceName
- The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
The maximum number of resource identifiers 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.
- Parameters:
limit
- The maximum number of resource identifiers 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.
-
getLimit
The maximum number of resource identifiers 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.
- Returns:
- The maximum number of resource identifiers 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.
-
withLimit
The maximum number of resource identifiers 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.
- Parameters:
limit
- The maximum number of resource identifiers 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIncludeDeletedResources
Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
- Parameters:
includeDeletedResources
- Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
-
getIncludeDeletedResources
Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
- Returns:
- Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
-
withIncludeDeletedResources
Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
- Parameters:
includeDeletedResources
- Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isIncludeDeletedResources
Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
- Returns:
- Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.
-
setNextToken
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken
- ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
-
getNextToken
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
-
withNextToken
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken
- ThenextToken
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-