Interface WafResponseInspection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WafResponseInspection.Builder,,WafResponseInspection> SdkBuilder<WafResponseInspection.Builder,,WafResponseInspection> SdkPojo
- Enclosing class:
WafResponseInspection
-
Method Summary
Modifier and TypeMethodDescriptionfailureCodes(Integer... failureCodes) The HTTP status codes that indicate a failed attempt (for example,401).failureCodes(Collection<Integer> failureCodes) The HTTP status codes that indicate a failed attempt (for example,401).successCodes(Integer... successCodes) The HTTP status codes that indicate a successful attempt (for example,200).successCodes(Collection<Integer> successCodes) The HTTP status codes that indicate a successful attempt (for example,200).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
successCodes
The HTTP status codes that indicate a successful attempt (for example,
200).Constraints:
-
Must contain from 1 to 10 status codes.
-
Each status code must be from
0to999. -
Can't contain a status code that is also in
failureCodes.
- Parameters:
successCodes- The HTTP status codes that indicate a successful attempt (for example,200).Constraints:
-
Must contain from 1 to 10 status codes.
-
Each status code must be from
0to999. -
Can't contain a status code that is also in
failureCodes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
successCodes
The HTTP status codes that indicate a successful attempt (for example,
200).Constraints:
-
Must contain from 1 to 10 status codes.
-
Each status code must be from
0to999. -
Can't contain a status code that is also in
failureCodes.
- Parameters:
successCodes- The HTTP status codes that indicate a successful attempt (for example,200).Constraints:
-
Must contain from 1 to 10 status codes.
-
Each status code must be from
0to999. -
Can't contain a status code that is also in
failureCodes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
failureCodes
The HTTP status codes that indicate a failed attempt (for example,
401).Constraints:
-
Must contain from 1 to 10 status codes.
-
Each status code must be from
0to999. -
Can't contain a status code that is also in
successCodes.
- Parameters:
failureCodes- The HTTP status codes that indicate a failed attempt (for example,401).Constraints:
-
Must contain from 1 to 10 status codes.
-
Each status code must be from
0to999. -
Can't contain a status code that is also in
successCodes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
failureCodes
The HTTP status codes that indicate a failed attempt (for example,
401).Constraints:
-
Must contain from 1 to 10 status codes.
-
Each status code must be from
0to999. -
Can't contain a status code that is also in
successCodes.
- Parameters:
failureCodes- The HTTP status codes that indicate a failed attempt (for example,401).Constraints:
-
Must contain from 1 to 10 status codes.
-
Each status code must be from
0to999. -
Can't contain a status code that is also in
successCodes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-