public static interface ListAssessmentTemplatesRequest.Builder extends InspectorRequest.Builder, CopyableBuilder<ListAssessmentTemplatesRequest.Builder,ListAssessmentTemplatesRequest>
Modifier and Type | Method and Description |
---|---|
ListAssessmentTemplatesRequest.Builder |
assessmentTargetArns(Collection<String> assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
|
ListAssessmentTemplatesRequest.Builder |
assessmentTargetArns(String... assessmentTargetArns)
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
|
ListAssessmentTemplatesRequest.Builder |
filter(AssessmentTemplateFilter filter)
You can use this parameter to specify a subset of data to be included in the action's response.
|
default ListAssessmentTemplatesRequest.Builder |
filter(Consumer<AssessmentTemplateFilter.Builder> filter)
You can use this parameter to specify a subset of data to be included in the action's response.
|
ListAssessmentTemplatesRequest.Builder |
maxResults(Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response.
|
ListAssessmentTemplatesRequest.Builder |
nextToken(String nextToken)
You can use this parameter when paginating results.
|
ListAssessmentTemplatesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
ListAssessmentTemplatesRequest.Builder assessmentTargetArns(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.ListAssessmentTemplatesRequest.Builder assessmentTargetArns(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.ListAssessmentTemplatesRequest.Builder filter(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.
default ListAssessmentTemplatesRequest.Builder filter(Consumer<AssessmentTemplateFilter.Builder> 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.
This is a convenience that creates an instance of theAssessmentTemplateFilter.Builder
avoiding the
need to create one manually via AssessmentTemplateFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to filter(AssessmentTemplateFilter)
.filter
- a consumer that will call methods on AssessmentTemplateFilter.Builder
filter(AssessmentTemplateFilter)
ListAssessmentTemplatesRequest.Builder nextToken(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.ListAssessmentTemplatesRequest.Builder maxResults(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.ListAssessmentTemplatesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.