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.BuildersortCriteria(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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:
-
overrideConfiguration
GetFindingsRequest.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
GetFindingsRequest.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.
-