Package com.datadog.api.client.v2.model
Class ApplicationSecurityWafCustomRuleActionParameters
java.lang.Object
com.datadog.api.client.v2.model.ApplicationSecurityWafCustomRuleActionParameters
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApplicationSecurityWafCustomRuleActionParameters
extends Object
The definition of
ApplicationSecurityWafCustomRuleActionParameters object.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ApplicationSecurityWafCustomRuleActionParameters object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The location to redirect to when the WAF custom rule triggers.The status code to return when the WAF custom rule triggers.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetLocation(String location) voidsetStatusCode(Long statusCode) statusCode(Long statusCode) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_STATUS_CODE
- See Also:
-
-
Constructor Details
-
ApplicationSecurityWafCustomRuleActionParameters
public ApplicationSecurityWafCustomRuleActionParameters()
-
-
Method Details
-
location
-
getLocation
The location to redirect to when the WAF custom rule triggers.- Returns:
- location
-
setLocation
-
statusCode
-
getStatusCode
The status code to return when the WAF custom rule triggers.- Returns:
- statusCode
-
setStatusCode
-
putAdditionalProperty
public ApplicationSecurityWafCustomRuleActionParameters putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ApplicationSecurityWafCustomRuleActionParameters
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ApplicationSecurityWafCustomRuleActionParameters object is equal to o. -
hashCode
public int hashCode() -
toString
-