Interface GetFindingsV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetFindingsV2Request.Builder,,GetFindingsV2Request> SdkBuilder<GetFindingsV2Request.Builder,,GetFindingsV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
GetFindingsV2Request
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetFindingsV2Request.Builderfilters(Consumer<OcsfFindingFilters.Builder> filters) The finding attributes used to define a condition to filter the returned OCSF findings.filters(OcsfFindingFilters filters) The finding attributes used to define a condition to filter the returned OCSF findings.maxResults(Integer maxResults) The maximum number of results to return.The token required for pagination.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default GetFindingsV2Request.Builderscopes(Consumer<FindingScopes.Builder> scopes) Limits the results to findings from specific organizational units or from the delegated administrator's organization.scopes(FindingScopes scopes) Limits the results to findings from specific organizational units or from the delegated administrator's organization.sortCriteria(Collection<SortCriterion> sortCriteria) The finding attributes used to sort the list of returned findings.sortCriteria(Consumer<SortCriterion.Builder>... sortCriteria) The finding attributes used to sort the list of returned findings.sortCriteria(SortCriterion... sortCriteria) The finding attributes used to sort the list of returned findings.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
filters
The finding attributes used to define a condition to filter the returned OCSF findings. You can filter up to 10 composite filters. For each filter type inside of a composite filter, you can provide up to 20 filters.
- Parameters:
filters- The finding attributes used to define a condition to filter the returned OCSF findings. You can filter up to 10 composite filters. For each filter type inside of a composite filter, you can provide up to 20 filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The finding attributes used to define a condition to filter the returned OCSF findings. You can filter up to 10 composite filters. For each filter type inside of a composite filter, you can provide up to 20 filters.
This is a convenience method that creates an instance of theOcsfFindingFilters.Builderavoiding the need to create one manually viaOcsfFindingFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(OcsfFindingFilters).- Parameters:
filters- a consumer that will call methods onOcsfFindingFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopes
Limits the results to findings from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an
AccessDeniedException.This parameter is optional. If you omit it, the delegated administrator sees findings from all accounts across the entire organization. Other accounts see only their own findings.
You can specify up to 10 entries in
Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.- Parameters:
scopes- Limits the results to findings from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive anAccessDeniedException.This parameter is optional. If you omit it, the delegated administrator sees findings from all accounts across the entire organization. Other accounts see only their own findings.
You can specify up to 10 entries in
Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
Limits the results to findings from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an
AccessDeniedException.This parameter is optional. If you omit it, the delegated administrator sees findings from all accounts across the entire organization. Other accounts see only their own findings.
You can specify up to 10 entries in
This is a convenience method that creates an instance of theScopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.FindingScopes.Builderavoiding the need to create one manually viaFindingScopes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopes(FindingScopes).- Parameters:
scopes- a consumer that will call methods onFindingScopes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortCriteria
The finding attributes used to sort the list of returned findings.
- Parameters:
sortCriteria- The finding attributes used to sort the list of returned findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The finding attributes used to sort the list of returned findings.
- Parameters:
sortCriteria- The finding attributes used to sort the list of returned findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The finding attributes used to sort the list of returned findings.
This is a convenience method that creates an instance of theSortCriterion.Builderavoiding the need to create one manually viaSortCriterion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortCriteria(List<SortCriterion>).- Parameters:
sortCriteria- a consumer that will call methods onSortCriterion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token required for pagination. On your first call, set the value of this parameter to
NULL. For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.- Parameters:
nextToken- The token required for pagination. On your first call, set the value of this parameter toNULL. For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return.
- Parameters:
maxResults- The maximum number of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetFindingsV2Request.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
GetFindingsV2Request.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.
-