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 ListDiscoveredResourcesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)BooleangetIncludeDeletedResources()Specifies whether AWS Config includes deleted resources in the results.IntegergetLimit()The maximum number of resource identifiers returned on each page.StringgetNextToken()ThenextTokenstring 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.StringgetResourceName()The custom name of only those resources that you want AWS Config to list in the response.StringgetResourceType()The type of resources that you want AWS Config to list in the response.inthashCode()BooleanisIncludeDeletedResources()Specifies whether AWS Config includes deleted resources in the results.voidsetIncludeDeletedResources(Boolean includeDeletedResources)Specifies whether AWS Config includes deleted resources in the results.voidsetLimit(Integer limit)The maximum number of resource identifiers returned on each page.voidsetNextToken(String nextToken)ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.voidsetResourceIds(Collection<String> resourceIds)The IDs of only those resources that you want AWS Config to list in the response.voidsetResourceName(String resourceName)The custom name of only those resources that you want AWS Config to list in the response.voidsetResourceType(ResourceType resourceType)The type of resources that you want AWS Config to list in the response.voidsetResourceType(String resourceType)The type of resources that you want AWS Config to list in the response.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListDiscoveredResourcesRequestwithIncludeDeletedResources(Boolean includeDeletedResources)Specifies whether AWS Config includes deleted resources in the results.ListDiscoveredResourcesRequestwithLimit(Integer limit)The maximum number of resource identifiers returned on each page.ListDiscoveredResourcesRequestwithNextToken(String nextToken)ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.ListDiscoveredResourcesRequestwithResourceIds(String... resourceIds)The IDs of only those resources that you want AWS Config to list in the response.ListDiscoveredResourcesRequestwithResourceIds(Collection<String> resourceIds)The IDs of only those resources that you want AWS Config to list in the response.ListDiscoveredResourcesRequestwithResourceName(String resourceName)The custom name of only those resources that you want AWS Config to list in the response.ListDiscoveredResourcesRequestwithResourceType(ResourceType resourceType)The type of resources that you want AWS Config to list in the response.ListDiscoveredResourcesRequestwithResourceType(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
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
-
getNextToken
public String getNextToken()
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- The
nextTokenstring 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
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListDiscoveredResourcesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-