public static interface WafInvalidParameterException.Builder extends CopyableBuilder<WafInvalidParameterException.Builder,WafInvalidParameterException>, WafException.Builder
Modifier and Type | Method and Description |
---|---|
WafInvalidParameterException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
WafInvalidParameterException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
WafInvalidParameterException.Builder |
field(ParameterExceptionField field)
Sets the value of the Field property for this object.
|
WafInvalidParameterException.Builder |
field(String field)
Sets the value of the Field property for this object.
|
WafInvalidParameterException.Builder |
message(String message)
Specifies the details of this exception.
|
WafInvalidParameterException.Builder |
parameter(String parameter)
Sets the value of the Parameter property for this object.
|
WafInvalidParameterException.Builder |
reason(ParameterExceptionReason reason)
Sets the value of the Reason property for this object.
|
WafInvalidParameterException.Builder |
reason(String reason)
Sets the value of the Reason property for this object.
|
WafInvalidParameterException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
WafInvalidParameterException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
copy
applyMutation, build
awsErrorDetails, build
requestId, statusCode
cause, message
WafInvalidParameterException.Builder field(String field)
field
- The new value for the Field property for this object.ParameterExceptionField
,
ParameterExceptionField
WafInvalidParameterException.Builder field(ParameterExceptionField field)
field
- The new value for the Field property for this object.ParameterExceptionField
,
ParameterExceptionField
WafInvalidParameterException.Builder parameter(String parameter)
parameter
- The new value for the Parameter property for this object.WafInvalidParameterException.Builder reason(String reason)
reason
- The new value for the Reason property for this object.ParameterExceptionReason
,
ParameterExceptionReason
WafInvalidParameterException.Builder reason(ParameterExceptionReason reason)
reason
- The new value for the Reason property for this object.ParameterExceptionReason
,
ParameterExceptionReason
WafInvalidParameterException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.Builder
awsErrorDetails
in interface AwsServiceException.Builder
awsErrorDetails
in interface WafException.Builder
awsErrorDetails
- Object containing additional details from the response.WafInvalidParameterException.Builder message(String message)
SdkException.Builder
message
in interface AwsServiceException.Builder
message
in interface SdkException.Builder
message
in interface SdkServiceException.Builder
message
in interface WafException.Builder
message
- The details of this exception.WafInvalidParameterException.Builder requestId(String requestId)
SdkServiceException.Builder
requestId
in interface AwsServiceException.Builder
requestId
in interface SdkServiceException.Builder
requestId
in interface WafException.Builder
requestId
- A string that identifies the request made to a service.WafInvalidParameterException.Builder statusCode(int statusCode)
SdkServiceException.Builder
statusCode
in interface AwsServiceException.Builder
statusCode
in interface SdkServiceException.Builder
statusCode
in interface WafException.Builder
statusCode
- an int containing the status code returned by the service.WafInvalidParameterException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface AwsServiceException.Builder
cause
in interface SdkException.Builder
cause
in interface SdkServiceException.Builder
cause
in interface WafException.Builder
cause
- The exception that caused this exception to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.