Rule Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appcomplianceautomation. models. Rule
- com.
- com.
public final class Rule
extends ExpandableStringEnum<Rule>
Scoping question rule.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Rule |
AZURE_APPLICATION
The question answer should be an Azure |
| static final Rule |
CHAR_LENGTH
The question answer length is limited. |
| static final Rule |
CREDIT_CARD_PCI
The question answer should be a Credit |
| static final Rule |
DOMAINS
The question answer should be domains. |
| static final Rule |
DYNAMIC_DROPDOWN
The question answer should be dynamic dropdown. |
| static final Rule |
PREVENT_NON_ENGLISH_CHAR
The question answer should prevent non-english char. |
| static final Rule |
PUBLIC_SOX
The question answer should be a PublicSOX. |
| static final Rule |
PUBLISHER_VERIFICATION
The question answer should be publisher verification. |
| static final Rule |
REQUIRED
The question is required to answer. |
| static final Rule |
URL
The question answer should be an Url. |
| static final Rule |
URLS
The question answer should be Urls. |
| static final Rule |
USPRIVACY_SHIELD
The question answer should be a Us |
| static final Rule |
VALID_EMAIL
The question answer should be a valid email. |
| static final Rule |
VALID_GUID
The question answer should be a valid guid. |
Constructor Summary
| Constructor | Description |
|---|---|
| Rule() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rule value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Rule |
fromString(String name)
Creates or finds a Rule from its string representation. |
| static Collection<Rule> |
values()
Gets known Rule values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AZURE_APPLICATION
public static final Rule AZURE_APPLICATION
The question answer should be an AzureApplication.
CHAR_LENGTH
public static final Rule CHAR_LENGTH
The question answer length is limited.
CREDIT_CARD_PCI
public static final Rule CREDIT_CARD_PCI
The question answer should be a CreditCardPCI.
DOMAINS
public static final Rule DOMAINS
The question answer should be domains.
DYNAMIC_DROPDOWN
public static final Rule DYNAMIC_DROPDOWN
The question answer should be dynamic dropdown.
PREVENT_NON_ENGLISH_CHAR
public static final Rule PREVENT_NON_ENGLISH_CHAR
The question answer should prevent non-english char.
PUBLIC_SOX
public static final Rule PUBLIC_SOX
The question answer should be a PublicSOX.
PUBLISHER_VERIFICATION
public static final Rule PUBLISHER_VERIFICATION
The question answer should be publisher verification.
REQUIRED
public static final Rule REQUIRED
The question is required to answer.
URL
public static final Rule URL
The question answer should be an Url.
URLS
public static final Rule URLS
The question answer should be Urls.
USPRIVACY_SHIELD
public static final Rule USPRIVACY_SHIELD
The question answer should be a UsPrivacyShield.
VALID_EMAIL
public static final Rule VALID_EMAIL
The question answer should be a valid email.
VALID_GUID
public static final Rule VALID_GUID
The question answer should be a valid guid.
Constructor Details
Rule
@Deprecated
public Rule()
Deprecated
Creates a new instance of Rule value.
Method Details
fromString
public static Rule fromString(String name)
Creates or finds a Rule from its string representation.
Parameters:
Returns:
values
public static Collection<Rule> values()
Gets known Rule values.
Returns: