Class AwsWafRuleGroupRulesDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsWafRuleGroupRulesDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsWafRuleGroupRulesDetails.Builder,AwsWafRuleGroupRulesDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsWafRuleGroupRulesDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsWafRuleGroupRulesDetails.Builder,AwsWafRuleGroupRulesDetails>
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsWafRuleGroupRulesDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsWafRuleGroupRulesActionDetailsaction()Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.static AwsWafRuleGroupRulesDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerpriority()If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the value ofPriority.StringruleId()The rule ID for a rule.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsWafRuleGroupRulesDetails.Builder>serializableBuilderClass()AwsWafRuleGroupRulesDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of rule.-
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
-
action
public final AwsWafRuleGroupRulesActionDetails action()
Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
- Returns:
- Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
-
priority
public final Integer priority()
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the value of
Priority.- Returns:
- If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order
based on the value of
Priority.
-
ruleId
public final String ruleId()
The rule ID for a rule.
- Returns:
- The rule ID for a rule.
-
type
public final String type()
The type of rule.
- Returns:
- The type of rule.
-
toBuilder
public AwsWafRuleGroupRulesDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsWafRuleGroupRulesDetails.Builder,AwsWafRuleGroupRulesDetails>
-
builder
public static AwsWafRuleGroupRulesDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsWafRuleGroupRulesDetails.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
-
-