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