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

com.pulumi.azurenative.guestconfiguration.outputs.AssignmentReportResourceComplianceReasonResponse 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.guestconfiguration.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class AssignmentReportResourceComplianceReasonResponse {
    /**
     * @return Code for the compliance of the guest configuration assignment resource.
     * 
     */
    private String code;
    /**
     * @return Reason for the compliance of the guest configuration assignment resource.
     * 
     */
    private String phrase;

    private AssignmentReportResourceComplianceReasonResponse() {}
    /**
     * @return Code for the compliance of the guest configuration assignment resource.
     * 
     */
    public String code() {
        return this.code;
    }
    /**
     * @return Reason for the compliance of the guest configuration assignment resource.
     * 
     */
    public String phrase() {
        return this.phrase;
    }

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

    public static Builder builder(AssignmentReportResourceComplianceReasonResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String code;
        private String phrase;
        public Builder() {}
        public Builder(AssignmentReportResourceComplianceReasonResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.code = defaults.code;
    	      this.phrase = defaults.phrase;
        }

        @CustomType.Setter
        public Builder code(String code) {
            if (code == null) {
              throw new MissingRequiredPropertyException("AssignmentReportResourceComplianceReasonResponse", "code");
            }
            this.code = code;
            return this;
        }
        @CustomType.Setter
        public Builder phrase(String phrase) {
            if (phrase == null) {
              throw new MissingRequiredPropertyException("AssignmentReportResourceComplianceReasonResponse", "phrase");
            }
            this.phrase = phrase;
            return this;
        }
        public AssignmentReportResourceComplianceReasonResponse build() {
            final var _resultValue = new AssignmentReportResourceComplianceReasonResponse();
            _resultValue.code = code;
            _resultValue.phrase = phrase;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy