@Generated(value="software.amazon.awssdk:codegen") public final class WafInvalidParameterException extends Wafv2Exception implements ToCopyableBuilder<WafInvalidParameterException.Builder,WafInvalidParameterException>
The operation failed because AWS WAF didn't recognize a parameter in the request. For example:
You specified an invalid parameter name or value.
Your nested statement isn't valid. You might have tried to nest a statement that can’t be nested.
You tried to update a WebACL with a DefaultAction that isn't among the types available at
DefaultAction.
Your request references an ARN that is malformed, or corresponds to a resource with which a Web ACL cannot be associated.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WafInvalidParameterException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WafInvalidParameterException.Builder |
builder() |
ParameterExceptionField |
field()
Returns the value of the Field property for this object.
|
String |
fieldAsString()
Returns the value of the Field property for this object.
|
String |
parameter()
Returns the value of the Parameter property for this object.
|
String |
reason()
Returns the value of the Reason property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WafInvalidParameterException.Builder> |
serializableBuilderClass() |
WafInvalidParameterException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic WafInvalidParameterException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WafInvalidParameterException.Builder,WafInvalidParameterException>toBuilder in class Wafv2Exceptionpublic static WafInvalidParameterException.Builder builder()
public static Class<? extends WafInvalidParameterException.Builder> serializableBuilderClass()
public ParameterExceptionField field()
If the service returns an enum value that is not available in the current SDK version, field will return
ParameterExceptionField.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldAsString().
ParameterExceptionFieldpublic String fieldAsString()
If the service returns an enum value that is not available in the current SDK version, field will return
ParameterExceptionField.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldAsString().
ParameterExceptionFieldpublic String parameter()
public String reason()
Copyright © 2021. All rights reserved.