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
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 ID of the detector for which you need to create sample findings.
To find the
detectorIdin 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
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.
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-