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
Gets known NameCheckFailureReason values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for