// *** 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.azure.securitycenter.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AssessmentStatusArgs extends com.pulumi.resources.ResourceArgs {

    public static final AssessmentStatusArgs Empty = new AssessmentStatusArgs();

    /**
     * Specifies the cause of the assessment status.
     * 
     */
    @Import(name="cause")
    private @Nullable Output<String> cause;

    /**
     * @return Specifies the cause of the assessment status.
     * 
     */
    public Optional<Output<String>> cause() {
        return Optional.ofNullable(this.cause);
    }

    /**
     * Specifies the programmatic code of the assessment status. Possible values are `Healthy`, `Unhealthy` and `NotApplicable`.
     * 
     */
    @Import(name="code", required=true)
    private Output<String> code;

    /**
     * @return Specifies the programmatic code of the assessment status. Possible values are `Healthy`, `Unhealthy` and `NotApplicable`.
     * 
     */
    public Output<String> code() {
        return this.code;
    }

    /**
     * Specifies the human readable description of the assessment status.
     * 
     */
    @Import(name="description")
    private @Nullable Output<String> description;

    /**
     * @return Specifies the human readable description of the assessment status.
     * 
     */
    public Optional<Output<String>> description() {
        return Optional.ofNullable(this.description);
    }

    private AssessmentStatusArgs() {}

    private AssessmentStatusArgs(AssessmentStatusArgs $) {
        this.cause = $.cause;
        this.code = $.code;
        this.description = $.description;
    }

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

    public static final class Builder {
        private AssessmentStatusArgs $;

        public Builder() {
            $ = new AssessmentStatusArgs();
        }

        public Builder(AssessmentStatusArgs defaults) {
            $ = new AssessmentStatusArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param cause Specifies the cause of the assessment status.
         * 
         * @return builder
         * 
         */
        public Builder cause(@Nullable Output<String> cause) {
            $.cause = cause;
            return this;
        }

        /**
         * @param cause Specifies the cause of the assessment status.
         * 
         * @return builder
         * 
         */
        public Builder cause(String cause) {
            return cause(Output.of(cause));
        }

        /**
         * @param code Specifies the programmatic code of the assessment status. Possible values are `Healthy`, `Unhealthy` and `NotApplicable`.
         * 
         * @return builder
         * 
         */
        public Builder code(Output<String> code) {
            $.code = code;
            return this;
        }

        /**
         * @param code Specifies the programmatic code of the assessment status. Possible values are `Healthy`, `Unhealthy` and `NotApplicable`.
         * 
         * @return builder
         * 
         */
        public Builder code(String code) {
            return code(Output.of(code));
        }

        /**
         * @param description Specifies the human readable description of the assessment status.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output<String> description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Specifies the human readable description of the assessment status.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        public AssessmentStatusArgs build() {
            $.code = Objects.requireNonNull($.code, "expected parameter 'code' to be non-null");
            return $;
        }
    }

}
