Interface ResponseInspectionHeader.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResponseInspectionHeader.Builder,
,ResponseInspectionHeader> SdkBuilder<ResponseInspectionHeader.Builder,
,ResponseInspectionHeader> SdkPojo
- Enclosing class:
ResponseInspectionHeader
-
Method Summary
Modifier and TypeMethodDescriptionfailureValues
(String... failureValues) Values in the response header with the specified name that indicate a failed login or account creation attempt.failureValues
(Collection<String> failureValues) Values in the response header with the specified name that indicate a failed login or account creation attempt.The name of the header to match against.successValues
(String... successValues) Values in the response header with the specified name that indicate a successful login or account creation attempt.successValues
(Collection<String> successValues) Values in the response header with the specified name 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
-
name
The name of the header to match against. The name must be an exact match, including case.
JSON example:
"Name": [ "RequestResult" ]
- Parameters:
name
- The name of the header to match against. The name must be an exact match, including case.JSON example:
"Name": [ "RequestResult" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successValues
Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON examples:
"SuccessValues": [ "LoginPassed", "Successful login" ]
and"SuccessValues": [ "AccountCreated", "Successful account creation" ]
- Parameters:
successValues
- Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.JSON examples:
"SuccessValues": [ "LoginPassed", "Successful login" ]
and"SuccessValues": [ "AccountCreated", "Successful account creation" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successValues
Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON examples:
"SuccessValues": [ "LoginPassed", "Successful login" ]
and"SuccessValues": [ "AccountCreated", "Successful account creation" ]
- Parameters:
successValues
- Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.JSON examples:
"SuccessValues": [ "LoginPassed", "Successful login" ]
and"SuccessValues": [ "AccountCreated", "Successful account creation" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureValues
Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON examples:
"FailureValues": [ "LoginFailed", "Failed login" ]
and"FailureValues": [ "AccountCreationFailed" ]
- Parameters:
failureValues
- Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.JSON examples:
"FailureValues": [ "LoginFailed", "Failed login" ]
and"FailureValues": [ "AccountCreationFailed" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureValues
Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON examples:
"FailureValues": [ "LoginFailed", "Failed login" ]
and"FailureValues": [ "AccountCreationFailed" ]
- Parameters:
failureValues
- Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.JSON examples:
"FailureValues": [ "LoginFailed", "Failed login" ]
and"FailureValues": [ "AccountCreationFailed" ]
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-