@Generated(value="software.amazon.awssdk:codegen") public final class AwsWafWebAclDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsWafWebAclDetails.Builder,AwsWafWebAclDetails>
Details about a WAF WebACL.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsWafWebAclDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsWafWebAclDetails.Builder |
builder() |
String |
defaultAction()
The action to perform if none of the rules contained in the WebACL match.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRules()
Returns true if the Rules property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
name()
A friendly name or description of the WebACL.
|
List<AwsWafWebAclRule> |
rules()
An array that contains the action for each rule in a WebACL, the priority of the rule, and the ID of the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsWafWebAclDetails.Builder> |
serializableBuilderClass() |
AwsWafWebAclDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
webAclId()
A unique identifier for a WebACL.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it.
public final String defaultAction()
The action to perform if none of the rules contained in the WebACL match.
public final boolean hasRules()
public final List<AwsWafWebAclRule> rules()
An array that contains the action for each rule in a WebACL, the priority of the rule, and the ID of the rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRules() to see if a value was sent in this field.
public final String webAclId()
A unique identifier for a WebACL.
public AwsWafWebAclDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsWafWebAclDetails.Builder,AwsWafWebAclDetails>public static AwsWafWebAclDetails.Builder builder()
public static Class<? extends AwsWafWebAclDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.