Interface UpdateFilterRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>, GuardDutyRequest.Builder, SdkBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateFilterRequest

public static interface UpdateFilterRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<UpdateFilterRequest.Builder,UpdateFilterRequest>
  • Method Details

    • detectorId

      UpdateFilterRequest.Builder detectorId(String detectorId)

      The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.

      Parameters:
      detectorId - The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterName

      UpdateFilterRequest.Builder filterName(String filterName)

      The name of the filter.

      Parameters:
      filterName - The name of the filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateFilterRequest.Builder description(String description)

      The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses ({ }, [ ], and ( )), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.

      Parameters:
      description - The description of the filter. Valid characters include alphanumeric characters, and special characters such as hyphen, period, colon, underscore, parentheses ({ }, [ ], and ( )), forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      Specifies the action that is to be applied to the findings that match the filter.

      Parameters:
      action - Specifies the action that is to be applied to the findings that match the filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      Specifies the action that is to be applied to the findings that match the filter.

      Parameters:
      action - Specifies the action that is to be applied to the findings that match the filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingCriteria

      UpdateFilterRequest.Builder findingCriteria(FindingCriteria findingCriteria)

      Represents the criteria to be used in the filter for querying findings.

      Parameters:
      findingCriteria - Represents the criteria to be used in the filter for querying findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingCriteria

      default UpdateFilterRequest.Builder findingCriteria(Consumer<FindingCriteria.Builder> findingCriteria)

      Represents the criteria to be used in the filter for querying findings.

      This is a convenience method that creates an instance of the FindingCriteria.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).

      Parameters:
      findingCriteria - a consumer that will call methods on FindingCriteria.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateFilterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.