public class ListAssessmentRunsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAssessmentRunsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentRunsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getAssessmentTemplateArns()
The ARNs that specify the assessment templates whose assessment runs you
want to list.
|
AssessmentRunFilter |
getFilter()
You can use this parameter to specify a subset of data to be included in
the action's response.
|
Integer |
getMaxResults()
You can use this parameter to indicate the maximum number of items that
you want in the response.
|
String |
getNextToken()
You can use this parameter when paginating results.
|
int |
hashCode() |
void |
setAssessmentTemplateArns(Collection<String> assessmentTemplateArns)
The ARNs that specify the assessment templates whose assessment runs you
want to list.
|
void |
setFilter(AssessmentRunFilter filter)
You can use this parameter to specify a subset of data to be included in
the action's response.
|
void |
setMaxResults(Integer maxResults)
You can use this parameter to indicate the maximum number of items that
you want in the response.
|
void |
setNextToken(String nextToken)
You can use this parameter when paginating results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAssessmentRunsRequest |
withAssessmentTemplateArns(Collection<String> assessmentTemplateArns)
The ARNs that specify the assessment templates whose assessment runs you
want to list.
|
ListAssessmentRunsRequest |
withAssessmentTemplateArns(String... assessmentTemplateArns)
The ARNs that specify the assessment templates whose assessment runs you
want to list.
|
ListAssessmentRunsRequest |
withFilter(AssessmentRunFilter filter)
You can use this parameter to specify a subset of data to be included in
the action's response.
|
ListAssessmentRunsRequest |
withMaxResults(Integer maxResults)
You can use this parameter to indicate the maximum number of items that
you want in the response.
|
ListAssessmentRunsRequest |
withNextToken(String nextToken)
You can use this parameter when paginating results.
|
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
public List<String> getAssessmentTemplateArns()
The ARNs that specify the assessment templates whose assessment runs you want to list.
public void setAssessmentTemplateArns(Collection<String> assessmentTemplateArns)
The ARNs that specify the assessment templates whose assessment runs you want to list.
assessmentTemplateArns
- The ARNs that specify the assessment templates whose assessment
runs you want to list.public ListAssessmentRunsRequest withAssessmentTemplateArns(String... assessmentTemplateArns)
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)
or
withAssessmentTemplateArns(java.util.Collection)
if you want to
override the existing values.
assessmentTemplateArns
- The ARNs that specify the assessment templates whose assessment
runs you want to list.public ListAssessmentRunsRequest withAssessmentTemplateArns(Collection<String> assessmentTemplateArns)
The ARNs that specify the assessment templates whose assessment runs you want to list.
assessmentTemplateArns
- The ARNs that specify the assessment templates whose assessment
runs you want to list.public void setFilter(AssessmentRunFilter 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.
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.
public AssessmentRunFilter 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.
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.
public ListAssessmentRunsRequest withFilter(AssessmentRunFilter 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.
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.
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 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.
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.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 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.
public ListAssessmentRunsRequest 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 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.
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.public void setMaxResults(Integer 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.
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.public Integer 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.
public ListAssessmentRunsRequest withMaxResults(Integer 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.
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.public String toString()
toString
in class Object
Object.toString()
public ListAssessmentRunsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.