com.azure.resourcemanager.recoveryservicesbackup.models.DpmErrorInfo Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* DPM workload-specific error information.
*/
@Fluent
public final class DpmErrorInfo {
/*
* Localized error string.
*/
@JsonProperty(value = "errorString")
private String errorString;
/*
* List of localized recommendations for above error code.
*/
@JsonProperty(value = "recommendations")
private List recommendations;
/**
* Creates an instance of DpmErrorInfo class.
*/
public DpmErrorInfo() {
}
/**
* Get the errorString property: Localized error string.
*
* @return the errorString value.
*/
public String errorString() {
return this.errorString;
}
/**
* Set the errorString property: Localized error string.
*
* @param errorString the errorString value to set.
* @return the DpmErrorInfo object itself.
*/
public DpmErrorInfo withErrorString(String errorString) {
this.errorString = errorString;
return this;
}
/**
* Get the recommendations property: List of localized recommendations for above error code.
*
* @return the recommendations value.
*/
public List recommendations() {
return this.recommendations;
}
/**
* Set the recommendations property: List of localized recommendations for above error code.
*
* @param recommendations the recommendations value to set.
* @return the DpmErrorInfo object itself.
*/
public DpmErrorInfo withRecommendations(List recommendations) {
this.recommendations = recommendations;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy