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:
  • Constructor Details

    • ListDiscoveredResourcesRequest

      public ListDiscoveredResourcesRequest()
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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) or withResourceIds(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 - The nextToken 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 - The nextToken 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: