Class InformationProtectionKeyword
java.lang.Object
com.azure.resourcemanager.security.models.InformationProtectionKeyword
The information type keyword.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.custom()
Get the custom property: Indicates whether the keyword is custom or not.excluded()
Get the excluded property: Indicates whether the keyword is excluded or not.pattern()
Get the pattern property: The keyword pattern.void
validate()
Validates the instance.withCanBeNumeric
(Boolean canBeNumeric) Set the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.withCustom
(Boolean custom) Set the custom property: Indicates whether the keyword is custom or not.withExcluded
(Boolean excluded) Set the excluded property: Indicates whether the keyword is excluded or not.withPattern
(String pattern) Set the pattern property: The keyword pattern.
-
Constructor Details
-
InformationProtectionKeyword
public InformationProtectionKeyword()
-
-
Method Details
-
pattern
Get the pattern property: The keyword pattern.- Returns:
- the pattern value.
-
withPattern
Set the pattern property: The keyword pattern.- Parameters:
pattern
- the pattern value to set.- Returns:
- the InformationProtectionKeyword object itself.
-
custom
Get the custom property: Indicates whether the keyword is custom or not.- Returns:
- the custom value.
-
withCustom
Set the custom property: Indicates whether the keyword is custom or not.- Parameters:
custom
- the custom value to set.- Returns:
- the InformationProtectionKeyword object itself.
-
canBeNumeric
Get the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.- Returns:
- the canBeNumeric value.
-
withCanBeNumeric
Set the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.- Parameters:
canBeNumeric
- the canBeNumeric value to set.- Returns:
- the InformationProtectionKeyword object itself.
-
excluded
Get the excluded property: Indicates whether the keyword is excluded or not.- Returns:
- the excluded value.
-
withExcluded
Set the excluded property: Indicates whether the keyword is excluded or not.- Parameters:
excluded
- the excluded value to set.- Returns:
- the InformationProtectionKeyword object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-