Interface ListInvestigationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListInvestigationsRequest.Builder,
,ListInvestigationsRequest> DetectiveRequest.Builder
,SdkBuilder<ListInvestigationsRequest.Builder,
,ListInvestigationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListInvestigationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilterCriteria
(Consumer<FilterCriteria.Builder> filterCriteria) Filters the investigation results based on a criteria.filterCriteria
(FilterCriteria filterCriteria) Filters the investigation results based on a criteria.The Amazon Resource Name (ARN) of the behavior graph.maxResults
(Integer maxResults) Lists the maximum number of investigations in a page.Lists if there are more results available.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sortCriteria
(Consumer<SortCriteria.Builder> sortCriteria) Sorts the investigation results based on a criteria.sortCriteria
(SortCriteria sortCriteria) Sorts the investigation results based on a criteria.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.detective.model.DetectiveRequest.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
-
graphArn
The Amazon Resource Name (ARN) of the behavior graph.
- Parameters:
graphArn
- The Amazon Resource Name (ARN) of the behavior graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
- Parameters:
nextToken
- Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Lists the maximum number of investigations in a page.
- Parameters:
maxResults
- Lists the maximum number of investigations in a page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
Filters the investigation results based on a criteria.
- Parameters:
filterCriteria
- Filters the investigation results based on a criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default ListInvestigationsRequest.Builder filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria) Filters the investigation results based on a criteria.
This is a convenience method that creates an instance of theFilterCriteria.Builder
avoiding the need to create one manually viaFilterCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterCriteria(FilterCriteria)
.- Parameters:
filterCriteria
- a consumer that will call methods onFilterCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortCriteria
Sorts the investigation results based on a criteria.
- Parameters:
sortCriteria
- Sorts the investigation results based on a criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
Sorts the investigation results based on a criteria.
This is a convenience method that creates an instance of theSortCriteria.Builder
avoiding the need to create one manually viaSortCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortCriteria(SortCriteria)
.- Parameters:
sortCriteria
- a consumer that will call methods onSortCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListInvestigationsRequest.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
ListInvestigationsRequest.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.
-