Class AwsWafRulePredicateListDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsWafRulePredicateListDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsWafRulePredicateListDetails.Builder,AwsWafRulePredicateListDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsWafRulePredicateListDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsWafRulePredicateListDetails.Builder,AwsWafRulePredicateListDetails>
Provides details about the
ByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsWafRulePredicateListDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsWafRulePredicateListDetails.Builderbuilder()StringdataId()A unique identifier for a predicate in a rule, such asByteMatchSetIdorIPSetId.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleannegated()Specifies if you want WAF to allow, block, or count requests based on the settings in theByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, orSizeConstraintSet.List<SdkField<?>>sdkFields()static Class<? extends AwsWafRulePredicateListDetails.Builder>serializableBuilderClass()AwsWafRulePredicateListDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of predicate in a rule, such asByteMatchorIPSet.-
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()
A unique identifier for a predicate in a rule, such as
ByteMatchSetIdorIPSetId.- Returns:
- A unique identifier for a predicate in a rule, such as
ByteMatchSetIdorIPSetId.
-
negated
public final Boolean negated()
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, orSizeConstraintSet.- Returns:
- Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, orSizeConstraintSet.
-
type
public final String type()
The type of predicate in a rule, such as
ByteMatchorIPSet.- Returns:
- The type of predicate in a rule, such as
ByteMatchorIPSet.
-
toBuilder
public AwsWafRulePredicateListDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsWafRulePredicateListDetails.Builder,AwsWafRulePredicateListDetails>
-
builder
public static AwsWafRulePredicateListDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsWafRulePredicateListDetails.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.
-
-