@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssessmentTemplatesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAssessmentTemplatesRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssessmentTemplatesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<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.
|
Integer |
getMaxResults()
You can use this parameter to indicate the maximum number of items you want in the response.
|
String |
getNextToken()
You can use this parameter when paginating results.
|
int |
hashCode() |
void |
setAssessmentTargetArns(Collection<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(Integer maxResults)
You can use this parameter to indicate the maximum number of items 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.
|
ListAssessmentTemplatesRequest |
withAssessmentTargetArns(Collection<String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
|
ListAssessmentTemplatesRequest |
withAssessmentTargetArns(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(Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response.
|
ListAssessmentTemplatesRequest |
withNextToken(String nextToken)
You can use this parameter when paginating results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getAssessmentTargetArns()
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
public void setAssessmentTargetArns(Collection<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(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(Collection<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(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public ListAssessmentTemplatesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()