Class ListFindingsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.inspector.model.ListFindingsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListFindingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListFindingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFindingsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getAssessmentRunArns()The ARNs of the assessment runs that generate the findings that you want to list.FindingFiltergetFilter()You can use this parameter to specify a subset of data to be included in the action's response.IntegergetMaxResults()You can use this parameter to indicate the maximum number of items you want in the response.StringgetNextToken()You can use this parameter when paginating results.inthashCode()voidsetAssessmentRunArns(Collection<String> assessmentRunArns)The ARNs of the assessment runs that generate the findings that you want to list.voidsetFilter(FindingFilter filter)You can use this parameter to specify a subset of data to be included in the action's response.voidsetMaxResults(Integer maxResults)You can use this parameter to indicate the maximum number of items you want in the response.voidsetNextToken(String nextToken)You can use this parameter when paginating results.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListFindingsRequestwithAssessmentRunArns(String... assessmentRunArns)The ARNs of the assessment runs that generate the findings that you want to list.ListFindingsRequestwithAssessmentRunArns(Collection<String> assessmentRunArns)The ARNs of the assessment runs that generate the findings that you want to list.ListFindingsRequestwithFilter(FindingFilter filter)You can use this parameter to specify a subset of data to be included in the action's response.ListFindingsRequestwithMaxResults(Integer maxResults)You can use this parameter to indicate the maximum number of items you want in the response.ListFindingsRequestwithNextToken(String nextToken)You can use this parameter when paginating results.-
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
-
getAssessmentRunArns
public List<String> getAssessmentRunArns()
The ARNs of the assessment runs that generate the findings that you want to list.
- Returns:
- The ARNs of the assessment runs that generate the findings that you want to list.
-
setAssessmentRunArns
public void setAssessmentRunArns(Collection<String> assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
- Parameters:
assessmentRunArns- The ARNs of the assessment runs that generate the findings that you want to list.
-
withAssessmentRunArns
public ListFindingsRequest withAssessmentRunArns(String... assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
NOTE: This method appends the values to the existing list (if any). Use
setAssessmentRunArns(java.util.Collection)orwithAssessmentRunArns(java.util.Collection)if you want to override the existing values.- Parameters:
assessmentRunArns- The ARNs of the assessment runs that generate the findings that you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAssessmentRunArns
public ListFindingsRequest withAssessmentRunArns(Collection<String> assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
- Parameters:
assessmentRunArns- The ARNs of the assessment runs that generate the findings that you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFilter
public void setFilter(FindingFilter filter)
You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
- Parameters:
filter- You can use this parameter to specify a subset of data to be included in the action's response.For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
-
getFilter
public FindingFilter getFilter()
You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
- Returns:
- You can use this parameter to specify a subset of data to be
included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
-
withFilter
public ListFindingsRequest withFilter(FindingFilter filter)
You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
- Parameters:
filter- You can use this parameter to specify a subset of data to be included in the action's response.For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
- Parameters:
nextToken- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
-
getNextToken
public String getNextToken()
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
- Returns:
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
-
withNextToken
public ListFindingsRequest withNextToken(String nextToken)
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
- Parameters:
nextToken- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
- Parameters:
maxResults- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
-
getMaxResults
public Integer getMaxResults()
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
- Returns:
- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
-
withMaxResults
public ListFindingsRequest withMaxResults(Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
- Parameters:
maxResults- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.- 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 ListFindingsRequest 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()
-
-