All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.recoveryservices.outputs.InquiryValidationResponse 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.recoveryservices.outputs;

import com.pulumi.azurenative.recoveryservices.outputs.ErrorDetailResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class InquiryValidationResponse {
    /**
     * @return Error Additional Detail in case the status is non-success.
     * 
     */
    private String additionalDetail;
    /**
     * @return Error Detail in case the status is non-success.
     * 
     */
    private @Nullable ErrorDetailResponse errorDetail;
    /**
     * @return Dictionary to store the count of ProtectableItems with key POType.
     * 
     */
    private Object protectableItemCount;
    /**
     * @return Status for the Inquiry Validation.
     * 
     */
    private @Nullable String status;

    private InquiryValidationResponse() {}
    /**
     * @return Error Additional Detail in case the status is non-success.
     * 
     */
    public String additionalDetail() {
        return this.additionalDetail;
    }
    /**
     * @return Error Detail in case the status is non-success.
     * 
     */
    public Optional errorDetail() {
        return Optional.ofNullable(this.errorDetail);
    }
    /**
     * @return Dictionary to store the count of ProtectableItems with key POType.
     * 
     */
    public Object protectableItemCount() {
        return this.protectableItemCount;
    }
    /**
     * @return Status for the Inquiry Validation.
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(InquiryValidationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String additionalDetail;
        private @Nullable ErrorDetailResponse errorDetail;
        private Object protectableItemCount;
        private @Nullable String status;
        public Builder() {}
        public Builder(InquiryValidationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalDetail = defaults.additionalDetail;
    	      this.errorDetail = defaults.errorDetail;
    	      this.protectableItemCount = defaults.protectableItemCount;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder additionalDetail(String additionalDetail) {
            if (additionalDetail == null) {
              throw new MissingRequiredPropertyException("InquiryValidationResponse", "additionalDetail");
            }
            this.additionalDetail = additionalDetail;
            return this;
        }
        @CustomType.Setter
        public Builder errorDetail(@Nullable ErrorDetailResponse errorDetail) {

            this.errorDetail = errorDetail;
            return this;
        }
        @CustomType.Setter
        public Builder protectableItemCount(Object protectableItemCount) {
            if (protectableItemCount == null) {
              throw new MissingRequiredPropertyException("InquiryValidationResponse", "protectableItemCount");
            }
            this.protectableItemCount = protectableItemCount;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable String status) {

            this.status = status;
            return this;
        }
        public InquiryValidationResponse build() {
            final var _resultValue = new InquiryValidationResponse();
            _resultValue.additionalDetail = additionalDetail;
            _resultValue.errorDetail = errorDetail;
            _resultValue.protectableItemCount = protectableItemCount;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy