Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions
extends Object
Controls how partial redaction is applied, including character count and direction.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharacters(Long characters) direction(ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptionsDirection direction) booleanReturn true if this ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Number of characters to leave visible from the start or end of the matched value; the rest are redacted.Indicates whether to redact characters from the first or last part of the matched value.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCharacters(Long characters) voidsetDirection(ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptionsDirection direction) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHARACTERS
- See Also:
-
JSON_PROPERTY_DIRECTION
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions
public ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions() -
ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions
public ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions(Long characters, ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptionsDirection direction)
-
-
Method Details
-
characters
public ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions characters(Long characters) -
getCharacters
Number of characters to leave visible from the start or end of the matched value; the rest are redacted.- Returns:
- characters
-
setCharacters
-
direction
-
getDirection
public ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptionsDirection getDirection()Indicates whether to redact characters from the first or last part of the matched value.- Returns:
- direction
-
setDirection
public void setDirection(ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptionsDirection direction) -
putAdditionalProperty
public ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions 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:
- ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions
-
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 ObservabilityPipelineSensitiveDataScannerProcessorActionPartialRedactOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-