@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResponseInspectionJson extends Object implements Serializable, Cloneable, StructuredPojo
Configures inspection of the response JSON. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. 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 |
|---|
ResponseInspectionJson() |
| Modifier and Type | Method and Description |
|---|---|
ResponseInspectionJson |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFailureValues()
Values for the specified identifier in the response JSON that indicate a failed login attempt.
|
String |
getIdentifier()
The identifier for the value to match against in the JSON.
|
List<String> |
getSuccessValues()
Values for the specified identifier in the response JSON that indicate a successful login attempt.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFailureValues(Collection<String> failureValues)
Values for the specified identifier in the response JSON that indicate a failed login attempt.
|
void |
setIdentifier(String identifier)
The identifier for the value to match against in the JSON.
|
void |
setSuccessValues(Collection<String> successValues)
Values for the specified identifier in the response JSON that indicate a successful login attempt.
|
String |
toString()
Returns a string representation of this object.
|
ResponseInspectionJson |
withFailureValues(Collection<String> failureValues)
Values for the specified identifier in the response JSON that indicate a failed login attempt.
|
ResponseInspectionJson |
withFailureValues(String... failureValues)
Values for the specified identifier in the response JSON that indicate a failed login attempt.
|
ResponseInspectionJson |
withIdentifier(String identifier)
The identifier for the value to match against in the JSON.
|
ResponseInspectionJson |
withSuccessValues(Collection<String> successValues)
Values for the specified identifier in the response JSON that indicate a successful login attempt.
|
ResponseInspectionJson |
withSuccessValues(String... successValues)
Values for the specified identifier in the response JSON that indicate a successful login attempt.
|
public void setIdentifier(String identifier)
The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.
JSON example: "Identifier": [ "/login/success" ]
identifier - The identifier for the value to match against in the JSON. The identifier must be an exact match,
including case.
JSON example: "Identifier": [ "/login/success" ]
public String getIdentifier()
The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.
JSON example: "Identifier": [ "/login/success" ]
JSON example: "Identifier": [ "/login/success" ]
public ResponseInspectionJson withIdentifier(String identifier)
The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.
JSON example: "Identifier": [ "/login/success" ]
identifier - The identifier for the value to match against in the JSON. The identifier must be an exact match,
including case.
JSON example: "Identifier": [ "/login/success" ]
public List<String> getSuccessValues()
Values for the specified identifier in the response JSON 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": [ "True", "Succeeded" ]
JSON example: "SuccessValues": [ "True", "Succeeded" ]
public void setSuccessValues(Collection<String> successValues)
Values for the specified identifier in the response JSON 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": [ "True", "Succeeded" ]
successValues - Values for the specified identifier in the response JSON 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": [ "True", "Succeeded" ]
public ResponseInspectionJson withSuccessValues(String... successValues)
Values for the specified identifier in the response JSON 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": [ "True", "Succeeded" ]
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 for the specified identifier in the response JSON 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": [ "True", "Succeeded" ]
public ResponseInspectionJson withSuccessValues(Collection<String> successValues)
Values for the specified identifier in the response JSON 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": [ "True", "Succeeded" ]
successValues - Values for the specified identifier in the response JSON 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": [ "True", "Succeeded" ]
public List<String> getFailureValues()
Values for the specified identifier in the response JSON 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": [ "False", "Failed" ]
JSON example: "FailureValues": [ "False", "Failed" ]
public void setFailureValues(Collection<String> failureValues)
Values for the specified identifier in the response JSON 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": [ "False", "Failed" ]
failureValues - Values for the specified identifier in the response JSON 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": [ "False", "Failed" ]
public ResponseInspectionJson withFailureValues(String... failureValues)
Values for the specified identifier in the response JSON 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": [ "False", "Failed" ]
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 for the specified identifier in the response JSON 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": [ "False", "Failed" ]
public ResponseInspectionJson withFailureValues(Collection<String> failureValues)
Values for the specified identifier in the response JSON 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": [ "False", "Failed" ]
failureValues - Values for the specified identifier in the response JSON 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": [ "False", "Failed" ]
public String toString()
toString in class ObjectObject.toString()public ResponseInspectionJson clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.