Class AWSManagedRulesBotControlRuleSet
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.AWSManagedRulesBotControlRuleSet
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AWSManagedRulesBotControlRuleSet.Builder,AWSManagedRulesBotControlRuleSet>
@Generated("software.amazon.awssdk:codegen") public final class AWSManagedRulesBotControlRuleSet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AWSManagedRulesBotControlRuleSet.Builder,AWSManagedRulesBotControlRuleSet>
Details for your use of the Bot Control managed rule group,
AWSManagedRulesBotControlRuleSet. This configuration is used inManagedRuleGroupConfig.For additional information about this and the other intelligent threat mitigation rule groups, see Intelligent threat mitigation in WAF and Amazon Web Services Managed Rules rule groups list in the WAF Developer Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAWSManagedRulesBotControlRuleSet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AWSManagedRulesBotControlRuleSet.Builderbuilder()BooleanenableMachineLearning()Applies only to the targeted inspection level.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InspectionLevelinspectionLevel()The inspection level to use for the Bot Control rule group.StringinspectionLevelAsString()The inspection level to use for the Bot Control rule group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AWSManagedRulesBotControlRuleSet.Builder>serializableBuilderClass()AWSManagedRulesBotControlRuleSet.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inspectionLevel
public final InspectionLevel inspectionLevel()
The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
inspectionLevelwill returnInspectionLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominspectionLevelAsString().- Returns:
- The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
- See Also:
InspectionLevel
-
inspectionLevelAsString
public final String inspectionLevelAsString()
The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
inspectionLevelwill returnInspectionLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominspectionLevelAsString().- Returns:
- The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
- See Also:
InspectionLevel
-
enableMachineLearning
public final Boolean enableMachineLearning()
Applies only to the targeted inspection level.
Determines whether to use machine learning (ML) to analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rules
TGT_ML_CoordinatedActivityLowandTGT_ML_CoordinatedActivityMedium, which inspect for anomalous behavior that might indicate distributed, coordinated bot activity.For more information about this choice, see the listing for these rules in the table at Bot Control rules listing in the WAF Developer Guide.
Default:
TRUE- Returns:
- Applies only to the targeted inspection level.
Determines whether to use machine learning (ML) to analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rules
TGT_ML_CoordinatedActivityLowandTGT_ML_CoordinatedActivityMedium, which inspect for anomalous behavior that might indicate distributed, coordinated bot activity.For more information about this choice, see the listing for these rules in the table at Bot Control rules listing in the WAF Developer Guide.
Default:
TRUE
-
toBuilder
public AWSManagedRulesBotControlRuleSet.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AWSManagedRulesBotControlRuleSet.Builder,AWSManagedRulesBotControlRuleSet>
-
builder
public static AWSManagedRulesBotControlRuleSet.Builder builder()
-
serializableBuilderClass
public static Class<? extends AWSManagedRulesBotControlRuleSet.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-