public class ListAssessmentTemplatesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
assessmentTargetArns
A list of ARNs that specifies the assessment targets whose assessment
templates you want to list.
|
private AssessmentTemplateFilter |
filter
You can use this parameter to specify a subset of data to be included in
the action's response.
|
private java.lang.Integer |
maxResults
You can use this parameter to indicate the maximum number of items you
want in the response.
|
private java.lang.String |
nextToken
You can use this parameter when paginating results.
|
NOOP
Constructor and Description |
---|
ListAssessmentTemplatesRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentTemplatesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAssessmentTargetArns()
A list of ARNs that specifies the assessment targets whose assessment
templates you want to list.
|
AssessmentTemplateFilter |
getFilter()
You can use this parameter to specify a subset of data to be included in
the action's response.
|
java.lang.Integer |
getMaxResults()
You can use this parameter to indicate the maximum number of items you
want in the response.
|
java.lang.String |
getNextToken()
You can use this parameter when paginating results.
|
int |
hashCode() |
void |
setAssessmentTargetArns(java.util.Collection<java.lang.String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment
templates you want to list.
|
void |
setFilter(AssessmentTemplateFilter filter)
You can use this parameter to specify a subset of data to be included in
the action's response.
|
void |
setMaxResults(java.lang.Integer maxResults)
You can use this parameter to indicate the maximum number of items you
want in the response.
|
void |
setNextToken(java.lang.String nextToken)
You can use this parameter when paginating results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAssessmentTemplatesRequest |
withAssessmentTargetArns(java.util.Collection<java.lang.String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment
templates you want to list.
|
ListAssessmentTemplatesRequest |
withAssessmentTargetArns(java.lang.String... assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment
templates you want to list.
|
ListAssessmentTemplatesRequest |
withFilter(AssessmentTemplateFilter filter)
You can use this parameter to specify a subset of data to be included in
the action's response.
|
ListAssessmentTemplatesRequest |
withMaxResults(java.lang.Integer maxResults)
You can use this parameter to indicate the maximum number of items you
want in the response.
|
ListAssessmentTemplatesRequest |
withNextToken(java.lang.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
private java.util.List<java.lang.String> assessmentTargetArns
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
private AssessmentTemplateFilter 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.
private java.lang.String nextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
private java.lang.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.
public java.util.List<java.lang.String> getAssessmentTargetArns()
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
public void setAssessmentTargetArns(java.util.Collection<java.lang.String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
assessmentTargetArns
- A list of ARNs that specifies the assessment targets whose
assessment templates you want to list.public ListAssessmentTemplatesRequest withAssessmentTargetArns(java.lang.String... assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
NOTE: This method appends the values to the existing list (if
any). Use setAssessmentTargetArns(java.util.Collection)
or
withAssessmentTargetArns(java.util.Collection)
if you want to
override the existing values.
assessmentTargetArns
- A list of ARNs that specifies the assessment targets whose
assessment templates you want to list.public ListAssessmentTemplatesRequest withAssessmentTargetArns(java.util.Collection<java.lang.String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
assessmentTargetArns
- A list of ARNs that specifies the assessment targets whose
assessment templates you want to list.public void setFilter(AssessmentTemplateFilter 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 AssessmentTemplateFilter 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 ListAssessmentTemplatesRequest withFilter(AssessmentTemplateFilter 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(java.lang.String nextToken)
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates 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
ListAssessmentTemplates 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 java.lang.String getNextToken()
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates 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 ListAssessmentTemplatesRequest withNextToken(java.lang.String nextToken)
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates 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
ListAssessmentTemplates 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(java.lang.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.
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.public java.lang.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.
public ListAssessmentTemplatesRequest withMaxResults(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListAssessmentTemplatesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()