com.microsoft.azure.eventgrid.models.MediaJobError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-eventgrid Show documentation
Show all versions of azure-eventgrid Show documentation
This package contains Microsoft Azure EventGrid SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.eventgrid.models;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Details of JobOutput errors.
*/
public class MediaJobError {
/**
* Error code describing the error. Possible values include:
* 'ServiceError', 'ServiceTransientError', 'DownloadNotAccessible',
* 'DownloadTransientError', 'UploadNotAccessible', 'UploadTransientError',
* 'ConfigurationUnsupported', 'ContentMalformed', 'ContentUnsupported'.
*/
@JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY)
private MediaJobErrorCode code;
/**
* A human-readable language-dependent representation of the error.
*/
@JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
private String message;
/**
* Helps with categorization of errors. Possible values include: 'Service',
* 'Download', 'Upload', 'Configuration', 'Content'.
*/
@JsonProperty(value = "category", access = JsonProperty.Access.WRITE_ONLY)
private MediaJobErrorCategory category;
/**
* Indicates that it may be possible to retry the Job. If retry is
* unsuccessful, please contact Azure support via Azure Portal. Possible
* values include: 'DoNotRetry', 'MayRetry'.
*/
@JsonProperty(value = "retry", access = JsonProperty.Access.WRITE_ONLY)
private MediaJobRetry retry;
/**
* An array of details about specific errors that led to this reported
* error.
*/
@JsonProperty(value = "details", access = JsonProperty.Access.WRITE_ONLY)
private List details;
/**
* Get error code describing the error. Possible values include: 'ServiceError', 'ServiceTransientError', 'DownloadNotAccessible', 'DownloadTransientError', 'UploadNotAccessible', 'UploadTransientError', 'ConfigurationUnsupported', 'ContentMalformed', 'ContentUnsupported'.
*
* @return the code value
*/
public MediaJobErrorCode code() {
return this.code;
}
/**
* Get a human-readable language-dependent representation of the error.
*
* @return the message value
*/
public String message() {
return this.message;
}
/**
* Get helps with categorization of errors. Possible values include: 'Service', 'Download', 'Upload', 'Configuration', 'Content'.
*
* @return the category value
*/
public MediaJobErrorCategory category() {
return this.category;
}
/**
* Get indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal. Possible values include: 'DoNotRetry', 'MayRetry'.
*
* @return the retry value
*/
public MediaJobRetry retry() {
return this.retry;
}
/**
* Get an array of details about specific errors that led to this reported error.
*
* @return the details value
*/
public List details() {
return this.details;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy