NameCheckFailureReason Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. datamigration. models. NameCheckFailureReason
- com.
- com.
public final class NameCheckFailureReason
extends ExpandableStringEnum<NameCheckFailureReason>
The reason why the name is not available, if nameAvailable is false.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Name |
ALREADY_EXISTS
Static value Already |
|
static final
Name |
INVALID
Static value Invalid for Name |
Constructor Summary
| Constructor | Description |
|---|---|
| NameCheckFailureReason() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Name |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Name |
fromString(String name)
Creates or finds a Name |
|
static
Collection<Name |
values()
Gets known Name |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALREADY_EXISTS
public static final NameCheckFailureReason ALREADY_EXISTS
Static value AlreadyExists for NameCheckFailureReason.
INVALID
public static final NameCheckFailureReason INVALID
Static value Invalid for NameCheckFailureReason.
Constructor Details
NameCheckFailureReason
@Deprecated
public NameCheckFailureReason()
Deprecated
Creates a new instance of NameCheckFailureReason value.
Method Details
fromString
public static NameCheckFailureReason fromString(String name)
Creates or finds a NameCheckFailureReason from its string representation.
Parameters:
Returns:
values
public static Collection<NameCheckFailureReason> values()
Gets known NameCheckFailureReason values.
Returns: