Interface GetFindingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetFindingsRequest.Builder,
,GetFindingsRequest> GuardDutyRequest.Builder
,SdkBuilder<GetFindingsRequest.Builder,
,GetFindingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetFindingsRequest
public static interface GetFindingsRequest.Builder
extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<GetFindingsRequest.Builder,GetFindingsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondetectorId
(String detectorId) The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.findingIds
(String... findingIds) The IDs of the findings that you want to retrieve.findingIds
(Collection<String> findingIds) The IDs of the findings that you want to retrieve.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default GetFindingsRequest.Builder
sortCriteria
(Consumer<SortCriteria.Builder> sortCriteria) Represents the criteria used for sorting findings.sortCriteria
(SortCriteria sortCriteria) Represents the criteria used for sorting findings.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, sdkFields
-
Method Details
-
detectorId
The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.
- Parameters:
detectorId
- The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIds
The IDs of the findings that you want to retrieve.
- Parameters:
findingIds
- The IDs of the findings that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIds
The IDs of the findings that you want to retrieve.
- Parameters:
findingIds
- The IDs of the findings that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
Represents the criteria used for sorting findings.
- Parameters:
sortCriteria
- Represents the criteria used for sorting findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
Represents the criteria used for sorting findings.
This is a convenience method that creates an instance of theSortCriteria.Builder
avoiding the need to create one manually viaSortCriteria.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
GetFindingsRequest.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
GetFindingsRequest.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.
-