ErrorSubCode Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<ErrorSubCode>
      • com.microsoft.azure.cognitiveservices.search.entitysearch.models.ErrorSubCode

public class ErrorSubCode

Defines values for ErrorSubCode.

Field Summary

Modifier and Type Field and Description
final ErrorSubCode AUTHORIZATION_DISABLED

Static value AuthorizationDisabled for ErrorSubCode.

final ErrorSubCode AUTHORIZATION_EXPIRED

Static value AuthorizationExpired for ErrorSubCode.

final ErrorSubCode AUTHORIZATION_MISSING

Static value AuthorizationMissing for ErrorSubCode.

final ErrorSubCode AUTHORIZATION_REDUNDANCY

Static value AuthorizationRedundancy for ErrorSubCode.

final ErrorSubCode BLOCKED

Static value Blocked for ErrorSubCode.

final ErrorSubCode HTTP_NOT_ALLOWED

Static value HttpNotAllowed for ErrorSubCode.

final ErrorSubCode NOT_IMPLEMENTED

Static value NotImplemented for ErrorSubCode.

final ErrorSubCode PARAMETER_INVALID_VALUE

Static value ParameterInvalidValue for ErrorSubCode.

final ErrorSubCode PARAMETER_MISSING

Static value ParameterMissing for ErrorSubCode.

final ErrorSubCode RESOURCE_ERROR

Static value ResourceError for ErrorSubCode.

final ErrorSubCode UNEXPECTED_ERROR

Static value UnexpectedError for ErrorSubCode.

Method Summary

Modifier and Type Method and Description
ErrorSubCode fromString(String name)

Creates or finds a ErrorSubCode from its string representation.

Collection<ErrorSubCode> values()

Field Details

AUTHORIZATION_DISABLED

public static final ErrorSubCode AUTHORIZATION_DISABLED= fromString("AuthorizationDisabled")

Static value AuthorizationDisabled for ErrorSubCode.

AUTHORIZATION_EXPIRED

public static final ErrorSubCode AUTHORIZATION_EXPIRED= fromString("AuthorizationExpired")

Static value AuthorizationExpired for ErrorSubCode.

AUTHORIZATION_MISSING

public static final ErrorSubCode AUTHORIZATION_MISSING= fromString("AuthorizationMissing")

Static value AuthorizationMissing for ErrorSubCode.

AUTHORIZATION_REDUNDANCY

public static final ErrorSubCode AUTHORIZATION_REDUNDANCY= fromString("AuthorizationRedundancy")

Static value AuthorizationRedundancy for ErrorSubCode.

BLOCKED

public static final ErrorSubCode BLOCKED= fromString("Blocked")

Static value Blocked for ErrorSubCode.

HTTP_NOT_ALLOWED

public static final ErrorSubCode HTTP_NOT_ALLOWED= fromString("HttpNotAllowed")

Static value HttpNotAllowed for ErrorSubCode.

NOT_IMPLEMENTED

public static final ErrorSubCode NOT_IMPLEMENTED= fromString("NotImplemented")

Static value NotImplemented for ErrorSubCode.

PARAMETER_INVALID_VALUE

public static final ErrorSubCode PARAMETER_INVALID_VALUE= fromString("ParameterInvalidValue")

Static value ParameterInvalidValue for ErrorSubCode.

PARAMETER_MISSING

public static final ErrorSubCode PARAMETER_MISSING= fromString("ParameterMissing")

Static value ParameterMissing for ErrorSubCode.

RESOURCE_ERROR

public static final ErrorSubCode RESOURCE_ERROR= fromString("ResourceError")

Static value ResourceError for ErrorSubCode.

UNEXPECTED_ERROR

public static final ErrorSubCode UNEXPECTED_ERROR= fromString("UnexpectedError")

Static value UnexpectedError for ErrorSubCode.

Method Details

fromString

public static ErrorSubCode fromString(String name)

Creates or finds a ErrorSubCode from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ErrorSubCode

values

public static Collection values()

Returns:

known ErrorSubCode values

Applies to