Interface CreateSampleFindingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSampleFindingsRequest.Builder,
,CreateSampleFindingsRequest> GuardDutyRequest.Builder
,SdkBuilder<CreateSampleFindingsRequest.Builder,
,CreateSampleFindingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSampleFindingsRequest
@Mutable
@NotThreadSafe
public static interface CreateSampleFindingsRequest.Builder
extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<CreateSampleFindingsRequest.Builder,CreateSampleFindingsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondetectorId
(String detectorId) The ID of the detector for which you need to create sample findings.findingTypes
(String... findingTypes) The types of sample findings to generate.findingTypes
(Collection<String> findingTypes) The types of sample findings to generate.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.guardduty.model.GuardDutyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
detectorId
The ID of the detector for which you need to create sample findings.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId
- The ID of the detector for which you need to create sample findings.To find the
detectorId
in 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.
-
findingTypes
The types of sample findings to generate.
- Parameters:
findingTypes
- The types of sample findings to generate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingTypes
The types of sample findings to generate.
- Parameters:
findingTypes
- The types of sample findings to generate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSampleFindingsRequest.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
CreateSampleFindingsRequest.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.
-