ErrorSubCode Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. cognitiveservices. search. customsearch. models. ErrorSubCode
- com.
- com.
public final class ErrorSubCode
extends com.microsoft.rest.ExpandableStringEnum<ErrorSubCode>
Defines values for ErrorSubCode.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Error |
AUTHORIZATION_DISABLED
Static value Authorization |
static final
Error |
AUTHORIZATION_EXPIRED
Static value Authorization |
static final
Error |
AUTHORIZATION_MISSING
Static value Authorization |
static final
Error |
AUTHORIZATION_REDUNDANCY
Static value Authorization |
static final
Error |
BLOCKED
Static value Blocked for Error |
static final
Error |
HTTP_NOT_ALLOWED
Static value Http |
static final
Error |
NOT_IMPLEMENTED
Static value Not |
static final
Error |
PARAMETER_INVALID_VALUE
Static value Parameter |
static final
Error |
PARAMETER_MISSING
Static value Parameter |
static final
Error |
RESOURCE_ERROR
Static value Resource |
static final
Error |
UNEXPECTED_ERROR
Static value Unexpected |
Constructor Summary
Constructor | Description | |
---|---|---|
ErrorSubCode() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Error |
fromString(String name)
Creates or finds a Error |
static
java.util.Collection<Error |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTHORIZATION_DISABLED
public static final ErrorSubCode AUTHORIZATION_DISABLED
Static value AuthorizationDisabled for ErrorSubCode.
AUTHORIZATION_EXPIRED
public static final ErrorSubCode AUTHORIZATION_EXPIRED
Static value AuthorizationExpired for ErrorSubCode.
AUTHORIZATION_MISSING
public static final ErrorSubCode AUTHORIZATION_MISSING
Static value AuthorizationMissing for ErrorSubCode.
AUTHORIZATION_REDUNDANCY
public static final ErrorSubCode AUTHORIZATION_REDUNDANCY
Static value AuthorizationRedundancy for ErrorSubCode.
BLOCKED
public static final ErrorSubCode BLOCKED
Static value Blocked for ErrorSubCode.
HTTP_NOT_ALLOWED
public static final ErrorSubCode HTTP_NOT_ALLOWED
Static value HttpNotAllowed for ErrorSubCode.
NOT_IMPLEMENTED
public static final ErrorSubCode NOT_IMPLEMENTED
Static value NotImplemented for ErrorSubCode.
PARAMETER_INVALID_VALUE
public static final ErrorSubCode PARAMETER_INVALID_VALUE
Static value ParameterInvalidValue for ErrorSubCode.
PARAMETER_MISSING
public static final ErrorSubCode PARAMETER_MISSING
Static value ParameterMissing for ErrorSubCode.
RESOURCE_ERROR
public static final ErrorSubCode RESOURCE_ERROR
Static value ResourceError for ErrorSubCode.
UNEXPECTED_ERROR
public static final ErrorSubCode UNEXPECTED_ERROR
Static value UnexpectedError for ErrorSubCode.
Constructor Details
ErrorSubCode
public ErrorSubCode()
Method Details
fromString
public static ErrorSubCode fromString(String name)
Creates or finds a ErrorSubCode from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java