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

com.pulumi.azurenative.security.outputs.AssessmentStatusResponseResponse Maven / Gradle / Ivy

The newest version!
// *** 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.security.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AssessmentStatusResponseResponse {
    /**
     * @return Programmatic code for the cause of the assessment status
     * 
     */
    private @Nullable String cause;
    /**
     * @return Programmatic code for the status of the assessment
     * 
     */
    private String code;
    /**
     * @return Human readable description of the assessment status
     * 
     */
    private @Nullable String description;
    /**
     * @return The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
     * 
     */
    private String firstEvaluationDate;
    /**
     * @return The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
     * 
     */
    private String statusChangeDate;

    private AssessmentStatusResponseResponse() {}
    /**
     * @return Programmatic code for the cause of the assessment status
     * 
     */
    public Optional cause() {
        return Optional.ofNullable(this.cause);
    }
    /**
     * @return Programmatic code for the status of the assessment
     * 
     */
    public String code() {
        return this.code;
    }
    /**
     * @return Human readable description of the assessment status
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format
     * 
     */
    public String firstEvaluationDate() {
        return this.firstEvaluationDate;
    }
    /**
     * @return The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format
     * 
     */
    public String statusChangeDate() {
        return this.statusChangeDate;
    }

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

    public static Builder builder(AssessmentStatusResponseResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String cause;
        private String code;
        private @Nullable String description;
        private String firstEvaluationDate;
        private String statusChangeDate;
        public Builder() {}
        public Builder(AssessmentStatusResponseResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cause = defaults.cause;
    	      this.code = defaults.code;
    	      this.description = defaults.description;
    	      this.firstEvaluationDate = defaults.firstEvaluationDate;
    	      this.statusChangeDate = defaults.statusChangeDate;
        }

        @CustomType.Setter
        public Builder cause(@Nullable String cause) {

            this.cause = cause;
            return this;
        }
        @CustomType.Setter
        public Builder code(String code) {
            if (code == null) {
              throw new MissingRequiredPropertyException("AssessmentStatusResponseResponse", "code");
            }
            this.code = code;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder firstEvaluationDate(String firstEvaluationDate) {
            if (firstEvaluationDate == null) {
              throw new MissingRequiredPropertyException("AssessmentStatusResponseResponse", "firstEvaluationDate");
            }
            this.firstEvaluationDate = firstEvaluationDate;
            return this;
        }
        @CustomType.Setter
        public Builder statusChangeDate(String statusChangeDate) {
            if (statusChangeDate == null) {
              throw new MissingRequiredPropertyException("AssessmentStatusResponseResponse", "statusChangeDate");
            }
            this.statusChangeDate = statusChangeDate;
            return this;
        }
        public AssessmentStatusResponseResponse build() {
            final var _resultValue = new AssessmentStatusResponseResponse();
            _resultValue.cause = cause;
            _resultValue.code = code;
            _resultValue.description = description;
            _resultValue.firstEvaluationDate = firstEvaluationDate;
            _resultValue.statusChangeDate = statusChangeDate;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy