public static interface ListAssessmentTargetsRequest.Builder extends InspectorRequest.Builder, CopyableBuilder<ListAssessmentTargetsRequest.Builder,ListAssessmentTargetsRequest>
Modifier and Type | Method and Description |
---|---|
ListAssessmentTargetsRequest.Builder |
filter(AssessmentTargetFilter filter)
You can use this parameter to specify a subset of data to be included in the action's response.
|
default ListAssessmentTargetsRequest.Builder |
filter(Consumer<AssessmentTargetFilter.Builder> filter)
You can use this parameter to specify a subset of data to be included in the action's response.
|
ListAssessmentTargetsRequest.Builder |
maxResults(Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response.
|
ListAssessmentTargetsRequest.Builder |
nextToken(String nextToken)
You can use this parameter when paginating results.
|
ListAssessmentTargetsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListAssessmentTargetsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ListAssessmentTargetsRequest.Builder filter(AssessmentTargetFilter 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 ListAssessmentTargetsRequest.Builder filter(Consumer<AssessmentTargetFilter.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 theAssessmentTargetFilter.Builder
avoiding the
need to create one manually via AssessmentTargetFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to filter(AssessmentTargetFilter)
.filter
- a consumer that will call methods on AssessmentTargetFilter.Builder
filter(AssessmentTargetFilter)
ListAssessmentTargetsRequest.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 ListAssessmentTargets 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 ListAssessmentTargets action. Subsequent calls to the action fill
nextToken in the request with the value of NextToken from the previous response to
continue listing data.ListAssessmentTargetsRequest.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.ListAssessmentTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListAssessmentTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.