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 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

      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.