com.azure.messaging.eventgrid.systemevents.MediaJobErrorCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-messaging-eventgrid Show documentation
Show all versions of azure-messaging-eventgrid Show documentation
This package contains Microsoft Azure EventGrid SDK.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.messaging.eventgrid.systemevents;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/** Error code describing the error. */
public enum MediaJobErrorCode {
/** Fatal service error, please contact support. */
SERVICE_ERROR("ServiceError"),
/** Transient error, please retry, if retry is unsuccessful, please contact support. */
SERVICE_TRANSIENT_ERROR("ServiceTransientError"),
/**
* While trying to download the input files, the files were not accessible, please check the availability of the
* source.
*/
DOWNLOAD_NOT_ACCESSIBLE("DownloadNotAccessible"),
/**
* While trying to download the input files, there was an issue during transfer (storage service, network errors),
* see details and check your source.
*/
DOWNLOAD_TRANSIENT_ERROR("DownloadTransientError"),
/**
* While trying to upload the output files, the destination was not reachable, please check the availability of the
* destination.
*/
UPLOAD_NOT_ACCESSIBLE("UploadNotAccessible"),
/**
* While trying to upload the output files, there was an issue during transfer (storage service, network errors),
* see details and check your destination.
*/
UPLOAD_TRANSIENT_ERROR("UploadTransientError"),
/**
* There was a problem with the combination of input files and the configuration settings applied, fix the
* configuration settings and retry with the same input, or change input to match the configuration.
*/
CONFIGURATION_UNSUPPORTED("ConfigurationUnsupported"),
/**
* There was a problem with the input content (for example: zero byte files, or corrupt/non-decodable files), check
* the input files.
*/
CONTENT_MALFORMED("ContentMalformed"),
/**
* There was a problem with the format of the input (not valid media file, or an unsupported file/codec), check the
* validity of the input files.
*/
CONTENT_UNSUPPORTED("ContentUnsupported"),
/**
* There is an error verifying to the account identity. Check and fix the identity configurations and retry. If
* unsuccessful, please contact support.
*/
IDENTITY_UNSUPPORTED("IdentityUnsupported");
/** The actual serialized value for a MediaJobErrorCode instance. */
private final String value;
MediaJobErrorCode(String value) {
this.value = value;
}
/**
* Parses a serialized value to a MediaJobErrorCode instance.
*
* @param value the serialized value to parse.
* @return the parsed MediaJobErrorCode object, or null if unable to parse.
*/
@JsonCreator
public static MediaJobErrorCode fromString(String value) {
if (value == null) {
return null;
}
MediaJobErrorCode[] items = MediaJobErrorCode.values();
for (MediaJobErrorCode item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}
/** {@inheritDoc} */
@JsonValue
@Override
public String toString() {
return this.value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy