Interface CreateInvestigationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInvestigationRequest.Builder,,CreateInvestigationRequest> GuardDutyRequest.Builder,SdkBuilder<CreateInvestigationRequest.Builder,,CreateInvestigationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateInvestigationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The idempotency token for the create request.detectorId(String detectorId) The unique ID of the GuardDuty detector for the account in which the investigation is created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.triggerPrompt(String triggerPrompt) A natural-language description of what to investigate.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 for the account in which the investigation is created.
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 for the account in which the investigation is created.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.
-
triggerPrompt
A natural-language description of what to investigate. For example:
-
"Investigate finding 1ab2c3d4e5f6a7b8c9d0e1f2a3b4c5d6 in account 123456789012" -
"Analyze findings in account with id 123456789012" -
"Analyze findings in my organization"
- Parameters:
triggerPrompt- A natural-language description of what to investigate. For example:-
"Investigate finding 1ab2c3d4e5f6a7b8c9d0e1f2a3b4c5d6 in account 123456789012" -
"Analyze findings in account with id 123456789012" -
"Analyze findings in my organization"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
clientToken
The idempotency token for the create request.
- Parameters:
clientToken- The idempotency token for the create request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateInvestigationRequest.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
CreateInvestigationRequest.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.
-