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