com.pulumi.azurenative.storsimple.outputs.TargetEligibilityErrorMessageResponse 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.storsimple.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class TargetEligibilityErrorMessageResponse {
/**
* @return The localized error message stating the reason why the device is not eligible as a target device.
*
*/
private @Nullable String message;
/**
* @return The localized resolution message for the error.
*
*/
private @Nullable String resolution;
/**
* @return The result code for the error, due to which the device does not qualify as a failover target device.
*
*/
private @Nullable String resultCode;
private TargetEligibilityErrorMessageResponse() {}
/**
* @return The localized error message stating the reason why the device is not eligible as a target device.
*
*/
public Optional message() {
return Optional.ofNullable(this.message);
}
/**
* @return The localized resolution message for the error.
*
*/
public Optional resolution() {
return Optional.ofNullable(this.resolution);
}
/**
* @return The result code for the error, due to which the device does not qualify as a failover target device.
*
*/
public Optional resultCode() {
return Optional.ofNullable(this.resultCode);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TargetEligibilityErrorMessageResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String message;
private @Nullable String resolution;
private @Nullable String resultCode;
public Builder() {}
public Builder(TargetEligibilityErrorMessageResponse defaults) {
Objects.requireNonNull(defaults);
this.message = defaults.message;
this.resolution = defaults.resolution;
this.resultCode = defaults.resultCode;
}
@CustomType.Setter
public Builder message(@Nullable String message) {
this.message = message;
return this;
}
@CustomType.Setter
public Builder resolution(@Nullable String resolution) {
this.resolution = resolution;
return this;
}
@CustomType.Setter
public Builder resultCode(@Nullable String resultCode) {
this.resultCode = resultCode;
return this;
}
public TargetEligibilityErrorMessageResponse build() {
final var _resultValue = new TargetEligibilityErrorMessageResponse();
_resultValue.message = message;
_resultValue.resolution = resolution;
_resultValue.resultCode = resultCode;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy