Interface ResponseInspectionHeader.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseInspectionHeader.Builder,ResponseInspectionHeader>,SdkBuilder<ResponseInspectionHeader.Builder,ResponseInspectionHeader>,SdkPojo
- Enclosing class:
- ResponseInspectionHeader
public static interface ResponseInspectionHeader.Builder extends SdkPojo, CopyableBuilder<ResponseInspectionHeader.Builder,ResponseInspectionHeader>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseInspectionHeader.BuilderfailureValues(String... failureValues)Values in the response header with the specified name that indicate a failed login or account creation attempt.ResponseInspectionHeader.BuilderfailureValues(Collection<String> failureValues)Values in the response header with the specified name that indicate a failed login or account creation attempt.ResponseInspectionHeader.Buildername(String name)The name of the header to match against.ResponseInspectionHeader.BuildersuccessValues(String... successValues)Values in the response header with the specified name that indicate a successful login or account creation attempt.ResponseInspectionHeader.BuildersuccessValues(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 Detail
-
name
ResponseInspectionHeader.Builder name(String 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
ResponseInspectionHeader.Builder successValues(Collection<String> 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
ResponseInspectionHeader.Builder successValues(String... 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
ResponseInspectionHeader.Builder failureValues(Collection<String> 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
ResponseInspectionHeader.Builder failureValues(String... 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.
-
-