@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SensitiveDataScannerTextReplacement extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_NUMBER_OF_CHARS |
static String |
JSON_PROPERTY_REPLACEMENT_STRING |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
SensitiveDataScannerTextReplacement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SensitiveDataScannerTextReplacement 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.
|
Long |
getNumberOfChars()
Required if type == 'partial_replacement_from_beginning' or 'partial_replacement_from_end'.
|
String |
getReplacementString()
Required if type == 'replacement_string'.
|
SensitiveDataScannerTextReplacementType |
getType()
Type of the replacement text.
|
int |
hashCode() |
SensitiveDataScannerTextReplacement |
numberOfChars(Long numberOfChars) |
SensitiveDataScannerTextReplacement |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SensitiveDataScannerTextReplacement |
replacementString(String replacementString) |
void |
setNumberOfChars(Long numberOfChars) |
void |
setReplacementString(String replacementString) |
void |
setType(SensitiveDataScannerTextReplacementType type) |
String |
toString() |
SensitiveDataScannerTextReplacement |
type(SensitiveDataScannerTextReplacementType type) |
public boolean unparsed
public static final String JSON_PROPERTY_NUMBER_OF_CHARS
public static final String JSON_PROPERTY_REPLACEMENT_STRING
public static final String JSON_PROPERTY_TYPE
public SensitiveDataScannerTextReplacement numberOfChars(Long numberOfChars)
@Nullable public Long getNumberOfChars()
public void setNumberOfChars(Long numberOfChars)
public SensitiveDataScannerTextReplacement replacementString(String replacementString)
@Nullable public String getReplacementString()
public void setReplacementString(String replacementString)
public SensitiveDataScannerTextReplacement type(SensitiveDataScannerTextReplacementType type)
@Nullable public SensitiveDataScannerTextReplacementType getType()
public void setType(SensitiveDataScannerTextReplacementType type)
public SensitiveDataScannerTextReplacement 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 © 2024. All rights reserved.