Interface ListAssessmentRunsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAssessmentRunsRequest.Builder,ListAssessmentRunsRequest>,InspectorRequest.Builder,SdkBuilder<ListAssessmentRunsRequest.Builder,ListAssessmentRunsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAssessmentRunsRequest
public static interface ListAssessmentRunsRequest.Builder extends InspectorRequest.Builder, SdkPojo, CopyableBuilder<ListAssessmentRunsRequest.Builder,ListAssessmentRunsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListAssessmentRunsRequest.BuilderassessmentTemplateArns(String... assessmentTemplateArns)The ARNs that specify the assessment templates whose assessment runs you want to list.ListAssessmentRunsRequest.BuilderassessmentTemplateArns(Collection<String> assessmentTemplateArns)The ARNs that specify the assessment templates whose assessment runs you want to list.default ListAssessmentRunsRequest.Builderfilter(Consumer<AssessmentRunFilter.Builder> filter)You can use this parameter to specify a subset of data to be included in the action's response.ListAssessmentRunsRequest.Builderfilter(AssessmentRunFilter filter)You can use this parameter to specify a subset of data to be included in the action's response.ListAssessmentRunsRequest.BuildermaxResults(Integer maxResults)You can use this parameter to indicate the maximum number of items that you want in the response.ListAssessmentRunsRequest.BuildernextToken(String nextToken)You can use this parameter when paginating results.ListAssessmentRunsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAssessmentRunsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
assessmentTemplateArns
ListAssessmentRunsRequest.Builder assessmentTemplateArns(Collection<String> assessmentTemplateArns)
The ARNs that specify the assessment templates whose assessment runs you want to list.
- Parameters:
assessmentTemplateArns- The ARNs that specify the assessment templates whose assessment runs you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentTemplateArns
ListAssessmentRunsRequest.Builder assessmentTemplateArns(String... assessmentTemplateArns)
The ARNs that specify the assessment templates whose assessment runs you want to list.
- Parameters:
assessmentTemplateArns- The ARNs that specify the assessment templates whose assessment runs you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
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.
- 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
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 method that creates an instance of theAssessmentRunFilter.Builderavoiding the need to create one manually viaAssessmentRunFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(AssessmentRunFilter).- Parameters:
filter- a consumer that will call methods onAssessmentRunFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(AssessmentRunFilter)
-
nextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
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.
- 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
ListAssessmentRunsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAssessmentRunsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-