Class ListAssessmentRunsRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe ARNs that specify the assessment templates whose assessment runs you want to list.You can use this parameter to specify a subset of data to be included in the action's response.You can use this parameter to indicate the maximum number of items that you want in the response.You can use this parameter when paginating results.inthashCode()voidsetAssessmentTemplateArns(Collection<String> assessmentTemplateArns) The ARNs that specify the assessment templates whose assessment runs you want to list.voidsetFilter(AssessmentRunFilter 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 that you want in the response.voidsetNextToken(String nextToken) You can use this parameter when paginating results.toString()Returns a string representation of this object; useful for testing and debugging.withAssessmentTemplateArns(String... assessmentTemplateArns) The ARNs that specify the assessment templates whose assessment runs you want to list.withAssessmentTemplateArns(Collection<String> assessmentTemplateArns) The ARNs that specify the assessment templates whose assessment runs you want to list.withFilter(AssessmentRunFilter filter) You can use this parameter to specify a subset of data to be included in the action's response.withMaxResults(Integer maxResults) You can use this parameter to indicate the maximum number of items that you want in the response.withNextToken(String nextToken) You can use this parameter when paginating results.Methods inherited from class 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
-
ListAssessmentRunsRequest
public ListAssessmentRunsRequest()
-
-
Method Details
-
getAssessmentTemplateArns
-
setAssessmentTemplateArns
The ARNs that specify the assessment templates whose assessment runs you want to list.
- Parameters:
assessmentTemplateArns- The ARNs that specify the assessment templates whose assessment runs you want to list.
-
withAssessmentTemplateArns
The ARNs that specify the assessment templates whose assessment runs you want to list.
NOTE: This method appends the values to the existing list (if any). Use
setAssessmentTemplateArns(java.util.Collection)orwithAssessmentTemplateArns(java.util.Collection)if you want to override the existing values.- Parameters:
assessmentTemplateArns- The ARNs that specify the assessment templates whose assessment runs you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAssessmentTemplateArns
public ListAssessmentRunsRequest withAssessmentTemplateArns(Collection<String> assessmentTemplateArns) The ARNs that specify the assessment templates whose assessment runs you want to list.
- Parameters:
assessmentTemplateArns- The ARNs that specify the assessment templates whose assessment runs you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFilter
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
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
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
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRuns 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 ListAssessmentRuns 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
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRuns 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 ListAssessmentRuns 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
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRuns 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 ListAssessmentRuns 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
You can use this parameter to indicate the maximum number of items that 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 that you want in the response. The default value is 10. The maximum value is 500.
-
getMaxResults
You can use this parameter to indicate the maximum number of items that 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 that you want in the response. The default value is 10. The maximum value is 500.
-
withMaxResults
You can use this parameter to indicate the maximum number of items that 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 that 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
-
equals
-
hashCode
-
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:
-