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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFindingsRequest.BuilderdetectorId(String detectorId)The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.GetFindingsRequest.BuilderfindingIds(String... findingIds)The IDs of the findings that you want to retrieve.GetFindingsRequest.BuilderfindingIds(Collection<String> findingIds)The IDs of the findings that you want to retrieve.GetFindingsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetFindingsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default GetFindingsRequest.BuildersortCriteria(Consumer<SortCriteria.Builder> sortCriteria)Represents the criteria used for sorting findings.GetFindingsRequest.BuildersortCriteria(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 Detail
-
detectorId
GetFindingsRequest.Builder detectorId(String 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
GetFindingsRequest.Builder findingIds(Collection<String> 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
GetFindingsRequest.Builder findingIds(String... 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
GetFindingsRequest.Builder sortCriteria(SortCriteria 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
default GetFindingsRequest.Builder sortCriteria(Consumer<SortCriteria.Builder> sortCriteria)
Represents the criteria used for sorting findings.
This is a convenience method that creates an instance of theSortCriteria.Builderavoiding the need to create one manually viaSortCriteria.builder().When the
Consumercompletes,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:
sortCriteria(SortCriteria)
-
overrideConfiguration
GetFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-