public static interface CreateFilterRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<CreateFilterRequest.Builder,CreateFilterRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateFilterRequest.Builder |
action(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
|
CreateFilterRequest.Builder |
action(String action)
Specifies the action that is to be applied to the findings that match the filter.
|
CreateFilterRequest.Builder |
clientToken(String clientToken)
The idempotency token for the create request.
|
CreateFilterRequest.Builder |
description(String description)
The description of the filter.
|
CreateFilterRequest.Builder |
detectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to create a filter.
|
default CreateFilterRequest.Builder |
findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
CreateFilterRequest.Builder |
findingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
CreateFilterRequest.Builder |
name(String name)
The name of the filter.
|
CreateFilterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFilterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFilterRequest.Builder |
rank(Integer rank)
Specifies the position of the filter in the list of current filters.
|
CreateFilterRequest.Builder |
tags(Map<String,String> tags)
The tags to be added to a new filter resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFilterRequest.Builder detectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to create a filter.
detectorId - The unique ID of the detector of the GuardDuty account for which you want to create a filter.CreateFilterRequest.Builder name(String name)
The name of the filter.
name - The name of the filter.CreateFilterRequest.Builder description(String description)
The description of the filter.
description - The description of the filter.CreateFilterRequest.Builder action(String action)
Specifies the action that is to be applied to the findings that match the filter.
action - Specifies the action that is to be applied to the findings that match the filter.FilterAction,
FilterActionCreateFilterRequest.Builder action(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
action - Specifies the action that is to be applied to the findings that match the filter.FilterAction,
FilterActionCreateFilterRequest.Builder rank(Integer rank)
Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
rank - Specifies the position of the filter in the list of current filters. Also specifies the order in which
this filter is applied to the findings.CreateFilterRequest.Builder findingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
findingCriteria - Represents the criteria to be used in the filter for querying findings.default CreateFilterRequest.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)
Represents the criteria to be used in the filter for querying findings.
This is a convenience that creates an instance of theFindingCriteria.Builder avoiding the need to
create one manually via FindingCriteria.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to findingCriteria(FindingCriteria).findingCriteria - a consumer that will call methods on FindingCriteria.BuilderfindingCriteria(FindingCriteria)CreateFilterRequest.Builder clientToken(String clientToken)
The idempotency token for the create request.
clientToken - The idempotency token for the create request.CreateFilterRequest.Builder tags(Map<String,String> tags)
The tags to be added to a new filter resource.
tags - The tags to be added to a new filter resource.CreateFilterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFilterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.