Interface ListInvestigationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListInvestigationsRequest.Builder,ListInvestigationsRequest>,DetectiveRequest.Builder,SdkBuilder<ListInvestigationsRequest.Builder,ListInvestigationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListInvestigationsRequest
public static interface ListInvestigationsRequest.Builder extends DetectiveRequest.Builder, SdkPojo, CopyableBuilder<ListInvestigationsRequest.Builder,ListInvestigationsRequest>
-
-
Method Summary
-
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 Detail
-
graphArn
ListInvestigationsRequest.Builder graphArn(String 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
ListInvestigationsRequest.Builder nextToken(String 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
ListInvestigationsRequest.Builder maxResults(Integer 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
ListInvestigationsRequest.Builder filterCriteria(FilterCriteria 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.Builderavoiding the need to create one manually viaFilterCriteria.builder().When the
Consumercompletes,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:
filterCriteria(FilterCriteria)
-
sortCriteria
ListInvestigationsRequest.Builder sortCriteria(SortCriteria 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
default ListInvestigationsRequest.Builder sortCriteria(Consumer<SortCriteria.Builder> sortCriteria)
Sorts the investigation results based on a criteria.
This is a convenience method that creates an instance of theSortCriteria.Builderavoiding the need to create one manually viaSortCriteria.builder().When the
Consumercompletes,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:
sortCriteria(SortCriteria)
-
overrideConfiguration
ListInvestigationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListInvestigationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-