
com.pulumi.azurenative.migrate.outputs.InnerHealthErrorModelResponse Maven / Gradle / Ivy
// *** 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.migrate.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class InnerHealthErrorModelResponse {
/**
* @return Gets or sets the error category.
*
*/
private String category;
/**
* @return Gets or sets possible causes of the error.
*
*/
private String causes;
/**
* @return Gets or sets the error code.
*
*/
private String code;
/**
* @return Gets or sets the error creation time.
*
*/
private String creationTime;
/**
* @return Gets or sets the health category.
*
*/
private String healthCategory;
/**
* @return Gets the ID.
*
*/
private String id;
/**
* @return Gets or sets a value indicating whether the error is customer resolvable.
*
*/
private Boolean isCustomerResolvable;
/**
* @return Gets or sets the error message.
*
*/
private String message;
/**
* @return Gets or sets recommended action to resolve the error.
*
*/
private String recommendation;
/**
* @return Gets or sets the error severity.
*
*/
private String severity;
/**
* @return Gets or sets the error source.
*
*/
private String source;
/**
* @return Gets or sets the error summary.
*
*/
private String summary;
private InnerHealthErrorModelResponse() {}
/**
* @return Gets or sets the error category.
*
*/
public String category() {
return this.category;
}
/**
* @return Gets or sets possible causes of the error.
*
*/
public String causes() {
return this.causes;
}
/**
* @return Gets or sets the error code.
*
*/
public String code() {
return this.code;
}
/**
* @return Gets or sets the error creation time.
*
*/
public String creationTime() {
return this.creationTime;
}
/**
* @return Gets or sets the health category.
*
*/
public String healthCategory() {
return this.healthCategory;
}
/**
* @return Gets the ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Gets or sets a value indicating whether the error is customer resolvable.
*
*/
public Boolean isCustomerResolvable() {
return this.isCustomerResolvable;
}
/**
* @return Gets or sets the error message.
*
*/
public String message() {
return this.message;
}
/**
* @return Gets or sets recommended action to resolve the error.
*
*/
public String recommendation() {
return this.recommendation;
}
/**
* @return Gets or sets the error severity.
*
*/
public String severity() {
return this.severity;
}
/**
* @return Gets or sets the error source.
*
*/
public String source() {
return this.source;
}
/**
* @return Gets or sets the error summary.
*
*/
public String summary() {
return this.summary;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InnerHealthErrorModelResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String category;
private String causes;
private String code;
private String creationTime;
private String healthCategory;
private String id;
private Boolean isCustomerResolvable;
private String message;
private String recommendation;
private String severity;
private String source;
private String summary;
public Builder() {}
public Builder(InnerHealthErrorModelResponse defaults) {
Objects.requireNonNull(defaults);
this.category = defaults.category;
this.causes = defaults.causes;
this.code = defaults.code;
this.creationTime = defaults.creationTime;
this.healthCategory = defaults.healthCategory;
this.id = defaults.id;
this.isCustomerResolvable = defaults.isCustomerResolvable;
this.message = defaults.message;
this.recommendation = defaults.recommendation;
this.severity = defaults.severity;
this.source = defaults.source;
this.summary = defaults.summary;
}
@CustomType.Setter
public Builder category(String category) {
if (category == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "category");
}
this.category = category;
return this;
}
@CustomType.Setter
public Builder causes(String causes) {
if (causes == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "causes");
}
this.causes = causes;
return this;
}
@CustomType.Setter
public Builder code(String code) {
if (code == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "code");
}
this.code = code;
return this;
}
@CustomType.Setter
public Builder creationTime(String creationTime) {
if (creationTime == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "creationTime");
}
this.creationTime = creationTime;
return this;
}
@CustomType.Setter
public Builder healthCategory(String healthCategory) {
if (healthCategory == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "healthCategory");
}
this.healthCategory = healthCategory;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder isCustomerResolvable(Boolean isCustomerResolvable) {
if (isCustomerResolvable == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "isCustomerResolvable");
}
this.isCustomerResolvable = isCustomerResolvable;
return this;
}
@CustomType.Setter
public Builder message(String message) {
if (message == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "message");
}
this.message = message;
return this;
}
@CustomType.Setter
public Builder recommendation(String recommendation) {
if (recommendation == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "recommendation");
}
this.recommendation = recommendation;
return this;
}
@CustomType.Setter
public Builder severity(String severity) {
if (severity == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "severity");
}
this.severity = severity;
return this;
}
@CustomType.Setter
public Builder source(String source) {
if (source == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "source");
}
this.source = source;
return this;
}
@CustomType.Setter
public Builder summary(String summary) {
if (summary == null) {
throw new MissingRequiredPropertyException("InnerHealthErrorModelResponse", "summary");
}
this.summary = summary;
return this;
}
public InnerHealthErrorModelResponse build() {
final var _resultValue = new InnerHealthErrorModelResponse();
_resultValue.category = category;
_resultValue.causes = causes;
_resultValue.code = code;
_resultValue.creationTime = creationTime;
_resultValue.healthCategory = healthCategory;
_resultValue.id = id;
_resultValue.isCustomerResolvable = isCustomerResolvable;
_resultValue.message = message;
_resultValue.recommendation = recommendation;
_resultValue.severity = severity;
_resultValue.source = source;
_resultValue.summary = summary;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy