UserConsent Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. support. models. UserConsent
- com.
- com.
public final class UserConsent
extends ExpandableStringEnum<UserConsent>
User consent value provided.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
User |
NO
Static value No for User |
|
static final
User |
YES
Static value Yes for User |
Constructor Summary
| Constructor | Description |
|---|---|
| UserConsent() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of User |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
User |
fromString(String name)
Creates or finds a User |
|
static
Collection<User |
values()
Gets known User |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NO
public static final UserConsent NO
Static value No for UserConsent.
YES
public static final UserConsent YES
Static value Yes for UserConsent.
Constructor Details
UserConsent
@Deprecated
public UserConsent()
Deprecated
Creates a new instance of UserConsent value.
Method Details
fromString
public static UserConsent fromString(String name)
Creates or finds a UserConsent from its string representation.
Parameters:
Returns:
values
public static Collection<UserConsent> values()
Gets known UserConsent values.
Returns: