Class AwsWafRegionalRuleGroupRulesDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsWafRegionalRuleGroupRulesDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsWafRegionalRuleGroupRulesDetails.Builder,AwsWafRegionalRuleGroupRulesDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsWafRegionalRuleGroupRulesDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsWafRegionalRuleGroupRulesDetails.Builder,AwsWafRegionalRuleGroupRulesDetails>
Provides information about the rules attached to a rule group
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsWafRegionalRuleGroupRulesDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsWafRegionalRuleGroupRulesActionDetailsaction()The action that WAF should take on a web request when it matches the criteria defined in the rule.static AwsWafRegionalRuleGroupRulesDetails.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 ID for a rule.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsWafRegionalRuleGroupRulesDetails.Builder>serializableBuilderClass()AwsWafRegionalRuleGroupRulesDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of rule in the rule group.-
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 AwsWafRegionalRuleGroupRulesActionDetails action()
The action that WAF should take on a web request when it matches the criteria defined in the rule.
- Returns:
- The action that 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 ID for a rule.
- Returns:
- The ID for a rule.
-
type
public final String type()
The type of rule in the rule group.
- Returns:
- The type of rule in the rule group.
-
toBuilder
public AwsWafRegionalRuleGroupRulesDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsWafRegionalRuleGroupRulesDetails.Builder,AwsWafRegionalRuleGroupRulesDetails>
-
builder
public static AwsWafRegionalRuleGroupRulesDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsWafRegionalRuleGroupRulesDetails.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
-
-