Interface GetFindingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetFindingsRequest.Builder,
,GetFindingsRequest> Macie2Request.Builder
,SdkBuilder<GetFindingsRequest.Builder,
,GetFindingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetFindingsRequest
public static interface GetFindingsRequest.Builder
extends Macie2Request.Builder, SdkPojo, CopyableBuilder<GetFindingsRequest.Builder,GetFindingsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfindingIds
(String... findingIds) An array of strings that lists the unique identifiers for the findings to retrieve.findingIds
(Collection<String> findingIds) An array of strings that lists the unique identifiers for the findings 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) The criteria for sorting the results of the request.sortCriteria
(SortCriteria sortCriteria) The criteria for sorting the results of the request.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.macie2.model.Macie2Request.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
-
findingIds
An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.
- Parameters:
findingIds
- An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIds
An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.
- Parameters:
findingIds
- An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The criteria for sorting the results of the request.
- Parameters:
sortCriteria
- The criteria for sorting the results of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The criteria for sorting the results of the request.
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.
-