
com.pulumi.azurenative.app.outputs.CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo 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.app.outputs;
import com.pulumi.azurenative.app.outputs.CustomHostnameAnalysisResultResponseDetails;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo {
/**
* @return Standardized string to programmatically identify the error.
*
*/
private String code;
/**
* @return Details or the error
*
*/
private @Nullable List details;
/**
* @return Detailed error description and debugging information.
*
*/
private String message;
/**
* @return Detailed error description and debugging information.
*
*/
private String target;
private CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo() {}
/**
* @return Standardized string to programmatically identify the error.
*
*/
public String code() {
return this.code;
}
/**
* @return Details or the error
*
*/
public List details() {
return this.details == null ? List.of() : this.details;
}
/**
* @return Detailed error description and debugging information.
*
*/
public String message() {
return this.message;
}
/**
* @return Detailed error description and debugging information.
*
*/
public String target() {
return this.target;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String code;
private @Nullable List details;
private String message;
private String target;
public Builder() {}
public Builder(CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo defaults) {
Objects.requireNonNull(defaults);
this.code = defaults.code;
this.details = defaults.details;
this.message = defaults.message;
this.target = defaults.target;
}
@CustomType.Setter
public Builder code(String code) {
if (code == null) {
throw new MissingRequiredPropertyException("CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo", "code");
}
this.code = code;
return this;
}
@CustomType.Setter
public Builder details(@Nullable List details) {
this.details = details;
return this;
}
public Builder details(CustomHostnameAnalysisResultResponseDetails... details) {
return details(List.of(details));
}
@CustomType.Setter
public Builder message(String message) {
if (message == null) {
throw new MissingRequiredPropertyException("CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo", "message");
}
this.message = message;
return this;
}
@CustomType.Setter
public Builder target(String target) {
if (target == null) {
throw new MissingRequiredPropertyException("CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo", "target");
}
this.target = target;
return this;
}
public CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo build() {
final var _resultValue = new CustomHostnameAnalysisResultResponseCustomDomainVerificationFailureInfo();
_resultValue.code = code;
_resultValue.details = details;
_resultValue.message = message;
_resultValue.target = target;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy