Interface ListInvestigationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListInvestigationsRequest.Builder,,ListInvestigationsRequest> GuardDutyRequest.Builder,SdkBuilder<ListInvestigationsRequest.Builder,,ListInvestigationsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListInvestigationsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondetectorId(String detectorId) The unique ID of the GuardDuty detector whose investigations you want to list.maxResults(Integer maxResults) You can use this parameter to indicate the maximum number of items 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.sortCriteria(Consumer<InvestigationSortCriteria.Builder> sortCriteria) Represents the criteria used for sorting investigations.sortCriteria(InvestigationSortCriteria sortCriteria) Represents the criteria used for sorting investigations.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
detectorId
The unique ID of the GuardDuty detector whose investigations you want to list.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId- The unique ID of the GuardDuty detector whose investigations you want to list.To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
Represents the criteria used for sorting investigations.
- Parameters:
sortCriteria- Represents the criteria used for sorting investigations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
default ListInvestigationsRequest.Builder sortCriteria(Consumer<InvestigationSortCriteria.Builder> sortCriteria) Represents the criteria used for sorting investigations.
This is a convenience method that creates an instance of theInvestigationSortCriteria.Builderavoiding the need to create one manually viaInvestigationSortCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortCriteria(InvestigationSortCriteria).- Parameters:
sortCriteria- a consumer that will call methods onInvestigationSortCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50.
- Parameters:
maxResults- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For 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 list action. For 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.
-
overrideConfiguration
ListInvestigationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-