com.azure.resourcemanager.recoveryservicesbackup.models.MabContainerHealthDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// 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;
/**
* MAB workload-specific Health Details.
*/
@Fluent
public final class MabContainerHealthDetails {
/*
* Health Code
*/
@JsonProperty(value = "code")
private Integer code;
/*
* Health Title
*/
@JsonProperty(value = "title")
private String title;
/*
* Health Message
*/
@JsonProperty(value = "message")
private String message;
/*
* Health Recommended Actions
*/
@JsonProperty(value = "recommendations")
private List recommendations;
/**
* Creates an instance of MabContainerHealthDetails class.
*/
public MabContainerHealthDetails() {
}
/**
* Get the code property: Health Code.
*
* @return the code value.
*/
public Integer code() {
return this.code;
}
/**
* Set the code property: Health Code.
*
* @param code the code value to set.
* @return the MabContainerHealthDetails object itself.
*/
public MabContainerHealthDetails withCode(Integer code) {
this.code = code;
return this;
}
/**
* Get the title property: Health Title.
*
* @return the title value.
*/
public String title() {
return this.title;
}
/**
* Set the title property: Health Title.
*
* @param title the title value to set.
* @return the MabContainerHealthDetails object itself.
*/
public MabContainerHealthDetails withTitle(String title) {
this.title = title;
return this;
}
/**
* Get the message property: Health Message.
*
* @return the message value.
*/
public String message() {
return this.message;
}
/**
* Set the message property: Health Message.
*
* @param message the message value to set.
* @return the MabContainerHealthDetails object itself.
*/
public MabContainerHealthDetails withMessage(String message) {
this.message = message;
return this;
}
/**
* Get the recommendations property: Health Recommended Actions.
*
* @return the recommendations value.
*/
public List recommendations() {
return this.recommendations;
}
/**
* Set the recommendations property: Health Recommended Actions.
*
* @param recommendations the recommendations value to set.
* @return the MabContainerHealthDetails object itself.
*/
public MabContainerHealthDetails 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