Class ListDiscoveredResourcesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.config.model.ListDiscoveredResourcesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListDiscoveredResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListDiscoveredResourcesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDiscoveredResourcesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Boolean
getIncludeDeletedResources()
Specifies whether AWS Config includes deleted resources in the results.Integer
getLimit()
The maximum number of resource identifiers returned on each page.String
getNextToken()
ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.List<String>
getResourceIds()
The IDs of only those resources that you want AWS Config to list in the response.String
getResourceName()
The custom name of only those resources that you want AWS Config to list in the response.String
getResourceType()
The type of resources that you want AWS Config to list in the response.int
hashCode()
Boolean
isIncludeDeletedResources()
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
setLimit(Integer limit)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListDiscoveredResourcesRequest
withIncludeDeletedResources(Boolean includeDeletedResources)
Specifies whether AWS Config includes deleted resources in the results.ListDiscoveredResourcesRequest
withLimit(Integer limit)
The maximum number of resource identifiers returned on each page.ListDiscoveredResourcesRequest
withNextToken(String nextToken)
ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.ListDiscoveredResourcesRequest
withResourceIds(String... resourceIds)
The IDs of only those resources that you want AWS Config to list in the response.ListDiscoveredResourcesRequest
withResourceIds(Collection<String> resourceIds)
The IDs of only those resources that you want AWS Config to list in the response.ListDiscoveredResourcesRequest
withResourceName(String resourceName)
The custom name of only those resources that you want AWS Config to list in the response.ListDiscoveredResourcesRequest
withResourceType(ResourceType resourceType)
The type of resources that you want AWS Config to list in the response.ListDiscoveredResourcesRequest
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
-
-
-
-
Method Detail
-
setResourceType
public void setResourceType(String resourceType)
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:
ResourceType
-
getResourceType
public String 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:
ResourceType
-
withResourceType
public ListDiscoveredResourcesRequest withResourceType(String resourceType)
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:
ResourceType
-
setResourceType
public void setResourceType(ResourceType resourceType)
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:
ResourceType
-
withResourceType
public ListDiscoveredResourcesRequest withResourceType(ResourceType resourceType)
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:
ResourceType
-
getResourceIds
public List<String> 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
public void setResourceIds(Collection<String> 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.
- 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
public ListDiscoveredResourcesRequest withResourceIds(String... 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.
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
public ListDiscoveredResourcesRequest withResourceIds(Collection<String> 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.
- 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
public void setResourceName(String 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.
- 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
public String 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
public ListDiscoveredResourcesRequest withResourceName(String 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.
- 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
public void setLimit(Integer 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.
- 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
public Integer 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
public ListDiscoveredResourcesRequest withLimit(Integer 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.
- 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
public void setIncludeDeletedResources(Boolean includeDeletedResources)
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
public Boolean 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
public ListDiscoveredResourcesRequest withIncludeDeletedResources(Boolean includeDeletedResources)
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
public Boolean 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
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.- Parameters:
nextToken
- ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
-
getNextToken
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.- Returns:
- The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
-
withNextToken
public ListDiscoveredResourcesRequest 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.- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListDiscoveredResourcesRequest 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:
Object.clone()
-
-