MediaJobErrorDetail.java
// 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.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Details of JobOutput errors. */
@Immutable
public final class MediaJobErrorDetail {
/*
* Code describing the error detail.
*/
@JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY)
private String code;
/*
* A human-readable representation of the error.
*/
@JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
private String message;
/**
* Get the code property: Code describing the error detail.
*
* @return the code value.
*/
public String getCode() {
return this.code;
}
/**
* Get the message property: A human-readable representation of the error.
*
* @return the message value.
*/
public String getMessage() {
return this.message;
}
}