Class UpdateFilterRequest

    • Method Detail

      • detectorId

        public final String detectorId()

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

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

        public final String filterName()

        The name of the filter.

        Returns:
        The name of the filter.
      • description

        public final 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.

        Returns:
        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.
      • action

        public final FilterAction action()

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

        If the service returns an enum value that is not available in the current SDK version, action will return FilterAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from actionAsString().

        Returns:
        Specifies the action that is to be applied to the findings that match the filter.
        See Also:
        FilterAction
      • actionAsString

        public final String actionAsString()

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

        If the service returns an enum value that is not available in the current SDK version, action will return FilterAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from actionAsString().

        Returns:
        Specifies the action that is to be applied to the findings that match the filter.
        See Also:
        FilterAction
      • rank

        public final 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.

        Returns:
        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.
      • findingCriteria

        public final FindingCriteria findingCriteria()

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

        Returns:
        Represents the criteria to be used in the filter for querying findings.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object