@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ApplicationSecurityWafCustomRuleActionParameters extends Object
ApplicationSecurityWafCustomRuleActionParameters object.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_LOCATION |
static String |
JSON_PROPERTY_STATUS_CODE |
boolean |
unparsed |
| Constructor and Description |
|---|
ApplicationSecurityWafCustomRuleActionParameters() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this ApplicationSecurityWafCustomRuleActionParameters object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getLocation()
The location to redirect to when the WAF custom rule triggers.
|
Long |
getStatusCode()
The status code to return when the WAF custom rule triggers.
|
int |
hashCode() |
ApplicationSecurityWafCustomRuleActionParameters |
location(String location) |
ApplicationSecurityWafCustomRuleActionParameters |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLocation(String location) |
void |
setStatusCode(Long statusCode) |
ApplicationSecurityWafCustomRuleActionParameters |
statusCode(Long statusCode) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_LOCATION
public static final String JSON_PROPERTY_STATUS_CODE
public ApplicationSecurityWafCustomRuleActionParameters()
public ApplicationSecurityWafCustomRuleActionParameters location(String location)
@Nullable public String getLocation()
public void setLocation(String location)
public ApplicationSecurityWafCustomRuleActionParameters statusCode(Long statusCode)
@Nullable public Long getStatusCode()
public void setStatusCode(Long statusCode)
public ApplicationSecurityWafCustomRuleActionParameters putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2025. All rights reserved.