Class AwsWafRateBasedRuleMatchPredicate
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsWafRateBasedRuleMatchPredicate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsWafRateBasedRuleMatchPredicate.Builder,AwsWafRateBasedRuleMatchPredicate>
@Generated("software.amazon.awssdk:codegen") public final class AwsWafRateBasedRuleMatchPredicate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsWafRateBasedRuleMatchPredicate.Builder,AwsWafRateBasedRuleMatchPredicate>
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 interfaceAwsWafRateBasedRuleMatchPredicate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsWafRateBasedRuleMatchPredicate.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 AwsWafRateBasedRuleMatchPredicate.Builder>serializableBuilderClass()AwsWafRateBasedRuleMatchPredicate.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 AwsWafRateBasedRuleMatchPredicate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsWafRateBasedRuleMatchPredicate.Builder,AwsWafRateBasedRuleMatchPredicate>
-
builder
public static AwsWafRateBasedRuleMatchPredicate.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsWafRateBasedRuleMatchPredicate.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
-
-