Interface ListAssessmentRunAgentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListAssessmentRunAgentsRequest.Builder,
,ListAssessmentRunAgentsRequest> InspectorRequest.Builder
,SdkBuilder<ListAssessmentRunAgentsRequest.Builder,
,ListAssessmentRunAgentsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListAssessmentRunAgentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionassessmentRunArn
(String assessmentRunArn) The ARN that specifies the assessment run whose agents you want to list.filter
(Consumer<AgentFilter.Builder> filter) You can use this parameter to specify a subset of data to be included in the action's response.filter
(AgentFilter filter) You can use this parameter to specify a subset of data to be included in the action's response.maxResults
(Integer maxResults) You can use this parameter to indicate the maximum number of items that you want in the response.You can use this parameter when paginating results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assessmentRunArn
The ARN that specifies the assessment run whose agents you want to list.
- Parameters:
assessmentRunArn
- The ARN that specifies the assessment run whose agents you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theAgentFilter.Builder
avoiding the need to create one manually viaAgentFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(AgentFilter)
.- Parameters:
filter
- a consumer that will call methods onAgentFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRunAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
- Parameters:
nextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRunAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAssessmentRunAgentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListAssessmentRunAgentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-