InformationProtectionKeyword Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. InformationProtectionKeyword
- com.
Implements
public final class InformationProtectionKeyword
implements JsonSerializable<InformationProtectionKeyword>
The information type keyword.
Constructor Summary
| Constructor | Description |
|---|---|
| InformationProtectionKeyword() |
Creates an instance of Information |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
canBeNumeric()
Get the can |
| Boolean |
custom()
Get the custom property: Indicates whether the keyword is custom or not. |
| Boolean |
excluded()
Get the excluded property: Indicates whether the keyword is excluded or not. |
|
static
Information |
fromJson(JsonReader jsonReader)
Reads an instance of Information |
| String |
pattern()
Get the pattern property: The keyword pattern. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Information |
withCanBeNumeric(Boolean canBeNumeric)
Set the can |
|
Information |
withCustom(Boolean custom)
Set the custom property: Indicates whether the keyword is custom or not. |
|
Information |
withExcluded(Boolean excluded)
Set the excluded property: Indicates whether the keyword is excluded or not. |
|
Information |
withPattern(String pattern)
Set the pattern property: The keyword pattern. |
Methods inherited from java.lang.Object
Constructor Details
InformationProtectionKeyword
public InformationProtectionKeyword()
Creates an instance of InformationProtectionKeyword class.
Method Details
canBeNumeric
public Boolean canBeNumeric()
Get the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.
Returns:
custom
public Boolean custom()
Get the custom property: Indicates whether the keyword is custom or not.
Returns:
excluded
public Boolean excluded()
Get the excluded property: Indicates whether the keyword is excluded or not.
Returns:
fromJson
public static InformationProtectionKeyword fromJson(JsonReader jsonReader)
Reads an instance of InformationProtectionKeyword from the JsonReader.
Parameters:
Returns:
Throws:
pattern
public String pattern()
Get the pattern property: The keyword pattern.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCanBeNumeric
public InformationProtectionKeyword withCanBeNumeric(Boolean canBeNumeric)
Set the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.
Parameters:
Returns:
withCustom
public InformationProtectionKeyword withCustom(Boolean custom)
Set the custom property: Indicates whether the keyword is custom or not.
Parameters:
Returns:
withExcluded
public InformationProtectionKeyword withExcluded(Boolean excluded)
Set the excluded property: Indicates whether the keyword is excluded or not.
Parameters:
Returns:
withPattern
public InformationProtectionKeyword withPattern(String pattern)
Set the pattern property: The keyword pattern.
Parameters:
Returns: