InformationProtectionKeyword Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.InformationProtectionKeyword

public final class InformationProtectionKeyword

The information type keyword.

Constructor Summary

Constructor Description
InformationProtectionKeyword()

Creates an instance of InformationProtectionKeyword class.

Method Summary

Modifier and Type Method and Description
Boolean canBeNumeric()

Get the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.

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.

String pattern()

Get the pattern property: The keyword pattern.

void validate()

Validates the instance.

InformationProtectionKeyword withCanBeNumeric(Boolean canBeNumeric)

Set the canBeNumeric property: Indicates whether the keyword can be applied on numeric types or not.

InformationProtectionKeyword withCustom(Boolean custom)

Set the custom property: Indicates whether the keyword is custom or not.

InformationProtectionKeyword withExcluded(Boolean excluded)

Set the excluded property: Indicates whether the keyword is excluded or not.

InformationProtectionKeyword 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:

the canBeNumeric value.

custom

public Boolean custom()

Get the custom property: Indicates whether the keyword is custom or not.

Returns:

the custom value.

excluded

public Boolean excluded()

Get the excluded property: Indicates whether the keyword is excluded or not.

Returns:

the excluded value.

pattern

public String pattern()

Get the pattern property: The keyword pattern.

Returns:

the pattern value.

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:

canBeNumeric - the canBeNumeric value to set.

Returns:

the InformationProtectionKeyword object itself.

withCustom

public InformationProtectionKeyword withCustom(Boolean custom)

Set the custom property: Indicates whether the keyword is custom or not.

Parameters:

custom - the custom value to set.

Returns:

the InformationProtectionKeyword object itself.

withExcluded

public InformationProtectionKeyword withExcluded(Boolean excluded)

Set the excluded property: Indicates whether the keyword is excluded or not.

Parameters:

excluded - the excluded value to set.

Returns:

the InformationProtectionKeyword object itself.

withPattern

public InformationProtectionKeyword withPattern(String pattern)

Set the pattern property: The keyword pattern.

Parameters:

pattern - the pattern value to set.

Returns:

the InformationProtectionKeyword object itself.

Applies to