@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResponseInspectionHeader extends Object implements Serializable, Cloneable, StructuredPojo
Configures inspection of the response header. This is part of the ResponseInspection configuration for
AWSManagedRulesATPRuleSet.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
| Constructor and Description |
|---|
ResponseInspectionHeader() |
| Modifier and Type | Method and Description |
|---|---|
ResponseInspectionHeader |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFailureValues()
Values in the response header with the specified name that indicate a failed login attempt.
|
String |
getName()
The name of the header to match against.
|
List<String> |
getSuccessValues()
Values in the response header with the specified name that indicate a successful login attempt.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFailureValues(Collection<String> failureValues)
Values in the response header with the specified name that indicate a failed login attempt.
|
void |
setName(String name)
The name of the header to match against.
|
void |
setSuccessValues(Collection<String> successValues)
Values in the response header with the specified name that indicate a successful login attempt.
|
String |
toString()
Returns a string representation of this object.
|
ResponseInspectionHeader |
withFailureValues(Collection<String> failureValues)
Values in the response header with the specified name that indicate a failed login attempt.
|
ResponseInspectionHeader |
withFailureValues(String... failureValues)
Values in the response header with the specified name that indicate a failed login attempt.
|
ResponseInspectionHeader |
withName(String name)
The name of the header to match against.
|
ResponseInspectionHeader |
withSuccessValues(Collection<String> successValues)
Values in the response header with the specified name that indicate a successful login attempt.
|
ResponseInspectionHeader |
withSuccessValues(String... successValues)
Values in the response header with the specified name that indicate a successful login attempt.
|
public void setName(String name)
The name of the header to match against. The name must be an exact match, including case.
JSON example: "Name": [ "LoginResult" ]
name - The name of the header to match against. The name must be an exact match, including case.
JSON example: "Name": [ "LoginResult" ]
public String getName()
The name of the header to match against. The name must be an exact match, including case.
JSON example: "Name": [ "LoginResult" ]
JSON example: "Name": [ "LoginResult" ]
public ResponseInspectionHeader withName(String name)
The name of the header to match against. The name must be an exact match, including case.
JSON example: "Name": [ "LoginResult" ]
name - The name of the header to match against. The name must be an exact match, including case.
JSON example: "Name": [ "LoginResult" ]
public List<String> getSuccessValues()
Values in the response header with the specified name that indicate a successful login attempt. To be counted as a successful login, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "SuccessValues": [ "LoginPassed", "Successful login" ]
JSON example: "SuccessValues": [ "LoginPassed", "Successful login" ]
public void setSuccessValues(Collection<String> successValues)
Values in the response header with the specified name that indicate a successful login attempt. To be counted as a successful login, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "SuccessValues": [ "LoginPassed", "Successful login" ]
successValues - Values in the response header with the specified name that indicate a successful login attempt. To be
counted as a successful login, the value must be an exact match, including case. Each value must be unique
among the success and failure values.
JSON example: "SuccessValues": [ "LoginPassed", "Successful login" ]
public ResponseInspectionHeader withSuccessValues(String... successValues)
Values in the response header with the specified name that indicate a successful login attempt. To be counted as a successful login, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "SuccessValues": [ "LoginPassed", "Successful login" ]
NOTE: This method appends the values to the existing list (if any). Use
setSuccessValues(java.util.Collection) or withSuccessValues(java.util.Collection) if you want
to override the existing values.
successValues - Values in the response header with the specified name that indicate a successful login attempt. To be
counted as a successful login, the value must be an exact match, including case. Each value must be unique
among the success and failure values.
JSON example: "SuccessValues": [ "LoginPassed", "Successful login" ]
public ResponseInspectionHeader withSuccessValues(Collection<String> successValues)
Values in the response header with the specified name that indicate a successful login attempt. To be counted as a successful login, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "SuccessValues": [ "LoginPassed", "Successful login" ]
successValues - Values in the response header with the specified name that indicate a successful login attempt. To be
counted as a successful login, the value must be an exact match, including case. Each value must be unique
among the success and failure values.
JSON example: "SuccessValues": [ "LoginPassed", "Successful login" ]
public List<String> getFailureValues()
Values in the response header with the specified name that indicate a failed login attempt. To be counted as a failed login, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "FailureValues": [ "LoginFailed", "Failed login" ]
JSON example: "FailureValues": [ "LoginFailed", "Failed login" ]
public void setFailureValues(Collection<String> failureValues)
Values in the response header with the specified name that indicate a failed login attempt. To be counted as a failed login, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "FailureValues": [ "LoginFailed", "Failed login" ]
failureValues - Values in the response header with the specified name that indicate a failed login attempt. To be counted
as a failed login, the value must be an exact match, including case. Each value must be unique among the
success and failure values.
JSON example: "FailureValues": [ "LoginFailed", "Failed login" ]
public ResponseInspectionHeader withFailureValues(String... failureValues)
Values in the response header with the specified name that indicate a failed login attempt. To be counted as a failed login, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "FailureValues": [ "LoginFailed", "Failed login" ]
NOTE: This method appends the values to the existing list (if any). Use
setFailureValues(java.util.Collection) or withFailureValues(java.util.Collection) if you want
to override the existing values.
failureValues - Values in the response header with the specified name that indicate a failed login attempt. To be counted
as a failed login, the value must be an exact match, including case. Each value must be unique among the
success and failure values.
JSON example: "FailureValues": [ "LoginFailed", "Failed login" ]
public ResponseInspectionHeader withFailureValues(Collection<String> failureValues)
Values in the response header with the specified name that indicate a failed login attempt. To be counted as a failed login, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "FailureValues": [ "LoginFailed", "Failed login" ]
failureValues - Values in the response header with the specified name that indicate a failed login attempt. To be counted
as a failed login, the value must be an exact match, including case. Each value must be unique among the
success and failure values.
JSON example: "FailureValues": [ "LoginFailed", "Failed login" ]
public String toString()
toString in class ObjectObject.toString()public ResponseInspectionHeader clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.