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