Interface ResponseInspectionBodyContains.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResponseInspectionBodyContains.Builder,
,ResponseInspectionBodyContains> SdkBuilder<ResponseInspectionBodyContains.Builder,
,ResponseInspectionBodyContains> SdkPojo
- Enclosing class:
ResponseInspectionBodyContains
-
Method Summary
Modifier and TypeMethodDescriptionfailureStrings
(String... failureStrings) Strings in the body of the response that indicate a failed login or account creation attempt.failureStrings
(Collection<String> failureStrings) Strings in the body of the response that indicate a failed login or account creation attempt.successStrings
(String... successStrings) Strings in the body of the response that indicate a successful login or account creation attempt.successStrings
(Collection<String> successStrings) Strings in the body of the response that indicate a successful login or account creation attempt.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
successStrings
Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
JSON examples:
"SuccessStrings": [ "Login successful" ]
and"SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]
- Parameters:
successStrings
- Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.JSON examples:
"SuccessStrings": [ "Login successful" ]
and"SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successStrings
Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
JSON examples:
"SuccessStrings": [ "Login successful" ]
and"SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]
- Parameters:
successStrings
- Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.JSON examples:
"SuccessStrings": [ "Login successful" ]
and"SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureStrings
Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
JSON example:
"FailureStrings": [ "Request failed" ]
- Parameters:
failureStrings
- Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.JSON example:
"FailureStrings": [ "Request failed" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureStrings
Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
JSON example:
"FailureStrings": [ "Request failed" ]
- Parameters:
failureStrings
- Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.JSON example:
"FailureStrings": [ "Request failed" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-