![JAR search and dependency download from the Maven repository](/logo.png)
com.microsoft.azure.management.cognitiveservices.Error Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-cognitiveservices Show documentation
Show all versions of azure-mgmt-cognitiveservices Show documentation
This package contains Microsoft CognitiveServices Management 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.management.cognitiveservices;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Cognitive Services error object.
*/
public class Error {
/**
* The error body.
*/
@JsonProperty(value = "error")
private ErrorBody error;
/**
* Get the error value.
*
* @return the error value
*/
public ErrorBody error() {
return this.error;
}
/**
* Set the error value.
*
* @param error the error value to set
* @return the Error object itself.
*/
public Error withError(ErrorBody error) {
this.error = error;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy