Class FilterSource

java.lang.Object
software.amazon.awssdk.services.wafv2.model.FilterSource
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<FilterSource.Builder,FilterSource>

@Generated("software.amazon.awssdk:codegen") public final class FilterSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FilterSource.Builder,FilterSource>

Information about the bot filter that was applied to the request. This structure is populated in the response when you filter by bot category, organization, or name.

See Also:
  • Method Details

    • botCategory

      public final String botCategory()

      The bot category that was used to filter the results. For example, ai or search_engine.

      Returns:
      The bot category that was used to filter the results. For example, ai or search_engine.
    • botOrganization

      public final String botOrganization()

      The bot organization that was used to filter the results. For example, OpenAI or Google .

      Returns:
      The bot organization that was used to filter the results. For example, OpenAI or Google.
    • botName

      public final String botName()

      The bot name that was used to filter the results. For example, gptbot or googlebot.

      Returns:
      The bot name that was used to filter the results. For example, gptbot or googlebot.
    • toBuilder

      public FilterSource.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<FilterSource.Builder,FilterSource>
    • builder

      public static FilterSource.Builder builder()
    • serializableBuilderClass

      public static Class<? extends FilterSource.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo