Package com.datadog.api.client.v2.model
Class ApplicationSecurityWafExclusionFilterCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.ApplicationSecurityWafExclusionFilterCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApplicationSecurityWafExclusionFilterCreateAttributes
extends Object
Attributes for creating a WAF exclusion filter.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationSecurityWafExclusionFilterCreateAttributes(String description, Boolean enabled) -
Method Summary
Modifier and TypeMethodDescriptionaddIpListItem(String ipListItem) addParametersItem(String parametersItem) addRulesTargetItem(ApplicationSecurityWafExclusionFilterRulesTarget rulesTargetItem) description(String description) booleanReturn true if this ApplicationSecurityWafExclusionFilterCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A description for the exclusion filter.Indicates whether the exclusion filter is enabled.The client IP addresses matched by the exclusion filter (CIDR notation is supported).The action taken when the exclusion filter matches.A list of parameters matched by the exclusion filter in the HTTP query string and HTTP request body.The HTTP path glob expression matched by the exclusion filter.The WAF rules targeted by the exclusion filter.getScope()The services where the exclusion filter is deployed.inthashCode()parameters(List<String> parameters) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rulesTarget(List<ApplicationSecurityWafExclusionFilterRulesTarget> rulesTarget) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidvoidvoidsetParameters(List<String> parameters) voidsetPathGlob(String pathGlob) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_IP_LIST
- See Also:
-
JSON_PROPERTY_ON_MATCH
- See Also:
-
JSON_PROPERTY_PARAMETERS
- See Also:
-
JSON_PROPERTY_PATH_GLOB
- See Also:
-
JSON_PROPERTY_RULES_TARGET
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
-
Constructor Details
-
ApplicationSecurityWafExclusionFilterCreateAttributes
public ApplicationSecurityWafExclusionFilterCreateAttributes() -
ApplicationSecurityWafExclusionFilterCreateAttributes
-
-
Method Details
-
description
-
getDescription
A description for the exclusion filter.- Returns:
- description
-
setDescription
-
enabled
-
getEnabled
Indicates whether the exclusion filter is enabled.- Returns:
- enabled
-
setEnabled
-
ipList
-
addIpListItem
-
getIpList
The client IP addresses matched by the exclusion filter (CIDR notation is supported).- Returns:
- ipList
-
setIpList
-
onMatch
public ApplicationSecurityWafExclusionFilterCreateAttributes onMatch(ApplicationSecurityWafExclusionFilterOnMatch onMatch) -
getOnMatch
The action taken when the exclusion filter matches. When set tomonitor, security traces are emitted but the requests are not blocked. By default, security traces are not emitted and the requests are not blocked.- Returns:
- onMatch
-
setOnMatch
-
parameters
-
addParametersItem
public ApplicationSecurityWafExclusionFilterCreateAttributes addParametersItem(String parametersItem) -
getParameters
A list of parameters matched by the exclusion filter in the HTTP query string and HTTP request body. Nested parameters can be matched by joining fields with a dot character.- Returns:
- parameters
-
setParameters
-
pathGlob
-
getPathGlob
The HTTP path glob expression matched by the exclusion filter.- Returns:
- pathGlob
-
setPathGlob
-
rulesTarget
public ApplicationSecurityWafExclusionFilterCreateAttributes rulesTarget(List<ApplicationSecurityWafExclusionFilterRulesTarget> rulesTarget) -
addRulesTargetItem
public ApplicationSecurityWafExclusionFilterCreateAttributes addRulesTargetItem(ApplicationSecurityWafExclusionFilterRulesTarget rulesTargetItem) -
getRulesTarget
The WAF rules targeted by the exclusion filter.- Returns:
- rulesTarget
-
setRulesTarget
-
scope
-
addScopeItem
public ApplicationSecurityWafExclusionFilterCreateAttributes addScopeItem(ApplicationSecurityWafExclusionFilterScope scopeItem) -
getScope
The services where the exclusion filter is deployed.- Returns:
- scope
-
setScope
-
putAdditionalProperty
public ApplicationSecurityWafExclusionFilterCreateAttributes 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:
- ApplicationSecurityWafExclusionFilterCreateAttributes
-
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 ApplicationSecurityWafExclusionFilterCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-