com.pulumi.azurenative.recoveryservices.outputs.AzureIaaSVMHealthDetailsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.recoveryservices.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class AzureIaaSVMHealthDetailsResponse {
/**
* @return Health Code
*
*/
private Integer code;
/**
* @return Health Message
*
*/
private String message;
/**
* @return Health Recommended Actions
*
*/
private List recommendations;
/**
* @return Health Title
*
*/
private String title;
private AzureIaaSVMHealthDetailsResponse() {}
/**
* @return Health Code
*
*/
public Integer code() {
return this.code;
}
/**
* @return Health Message
*
*/
public String message() {
return this.message;
}
/**
* @return Health Recommended Actions
*
*/
public List recommendations() {
return this.recommendations;
}
/**
* @return Health Title
*
*/
public String title() {
return this.title;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureIaaSVMHealthDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer code;
private String message;
private List recommendations;
private String title;
public Builder() {}
public Builder(AzureIaaSVMHealthDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.code = defaults.code;
this.message = defaults.message;
this.recommendations = defaults.recommendations;
this.title = defaults.title;
}
@CustomType.Setter
public Builder code(Integer code) {
if (code == null) {
throw new MissingRequiredPropertyException("AzureIaaSVMHealthDetailsResponse", "code");
}
this.code = code;
return this;
}
@CustomType.Setter
public Builder message(String message) {
if (message == null) {
throw new MissingRequiredPropertyException("AzureIaaSVMHealthDetailsResponse", "message");
}
this.message = message;
return this;
}
@CustomType.Setter
public Builder recommendations(List recommendations) {
if (recommendations == null) {
throw new MissingRequiredPropertyException("AzureIaaSVMHealthDetailsResponse", "recommendations");
}
this.recommendations = recommendations;
return this;
}
public Builder recommendations(String... recommendations) {
return recommendations(List.of(recommendations));
}
@CustomType.Setter
public Builder title(String title) {
if (title == null) {
throw new MissingRequiredPropertyException("AzureIaaSVMHealthDetailsResponse", "title");
}
this.title = title;
return this;
}
public AzureIaaSVMHealthDetailsResponse build() {
final var _resultValue = new AzureIaaSVMHealthDetailsResponse();
_resultValue.code = code;
_resultValue.message = message;
_resultValue.recommendations = recommendations;
_resultValue.title = title;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy