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

com.pulumi.azurenative.aad.outputs.ConfigDiagnosticsResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show 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.aad.outputs;

import com.pulumi.azurenative.aad.outputs.ConfigDiagnosticsValidatorResultResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConfigDiagnosticsResponse {
    /**
     * @return Last domain configuration diagnostics DateTime
     * 
     */
    private @Nullable String lastExecuted;
    /**
     * @return List of Configuration Diagnostics validator results.
     * 
     */
    private @Nullable List validatorResults;

    private ConfigDiagnosticsResponse() {}
    /**
     * @return Last domain configuration diagnostics DateTime
     * 
     */
    public Optional lastExecuted() {
        return Optional.ofNullable(this.lastExecuted);
    }
    /**
     * @return List of Configuration Diagnostics validator results.
     * 
     */
    public List validatorResults() {
        return this.validatorResults == null ? List.of() : this.validatorResults;
    }

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

    public static Builder builder(ConfigDiagnosticsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String lastExecuted;
        private @Nullable List validatorResults;
        public Builder() {}
        public Builder(ConfigDiagnosticsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.lastExecuted = defaults.lastExecuted;
    	      this.validatorResults = defaults.validatorResults;
        }

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

            this.lastExecuted = lastExecuted;
            return this;
        }
        @CustomType.Setter
        public Builder validatorResults(@Nullable List validatorResults) {

            this.validatorResults = validatorResults;
            return this;
        }
        public Builder validatorResults(ConfigDiagnosticsValidatorResultResponse... validatorResults) {
            return validatorResults(List.of(validatorResults));
        }
        public ConfigDiagnosticsResponse build() {
            final var _resultValue = new ConfigDiagnosticsResponse();
            _resultValue.lastExecuted = lastExecuted;
            _resultValue.validatorResults = validatorResults;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy