Class AwsWafRegionalRateBasedRuleMatchPredicate
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsWafRegionalRateBasedRuleMatchPredicate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsWafRegionalRateBasedRuleMatchPredicate.Builder,AwsWafRegionalRateBasedRuleMatchPredicate>
@Generated("software.amazon.awssdk:codegen") public final class AwsWafRegionalRateBasedRuleMatchPredicate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsWafRegionalRateBasedRuleMatchPredicate.Builder,AwsWafRegionalRateBasedRuleMatchPredicate>
Details for a match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsWafRegionalRateBasedRuleMatchPredicate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsWafRegionalRateBasedRuleMatchPredicate.Builderbuilder()StringdataId()The unique identifier for the predicate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleannegated()If set totrue, then the rule actions are performed on requests that match the predicate settings.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsWafRegionalRateBasedRuleMatchPredicate.Builder>serializableBuilderClass()AwsWafRegionalRateBasedRuleMatchPredicate.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of predicate.-
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
-
dataId
public final String dataId()
The unique identifier for the predicate.
- Returns:
- The unique identifier for the predicate.
-
negated
public final Boolean negated()
If set to
true, then the rule actions are performed on requests that match the predicate settings.If set to
false, then the rule actions are performed on all requests except those that match the predicate settings.- Returns:
- If set to
true, then the rule actions are performed on requests that match the predicate settings.If set to
false, then the rule actions are performed on all requests except those that match the predicate settings.
-
type
public final String type()
The type of predicate. Valid values are as follows:
-
ByteMatch -
GeoMatch -
IPMatch -
RegexMatch -
SizeConstraint -
SqlInjectionMatch -
XssMatch
- Returns:
- The type of predicate. Valid values are as follows:
-
ByteMatch -
GeoMatch -
IPMatch -
RegexMatch -
SizeConstraint -
SqlInjectionMatch -
XssMatch
-
-
-
toBuilder
public AwsWafRegionalRateBasedRuleMatchPredicate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsWafRegionalRateBasedRuleMatchPredicate.Builder,AwsWafRegionalRateBasedRuleMatchPredicate>
-
builder
public static AwsWafRegionalRateBasedRuleMatchPredicate.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsWafRegionalRateBasedRuleMatchPredicate.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
-
-