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

com.pulumi.azurenative.appcomplianceautomation.ReportArgs 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.appcomplianceautomation;

import com.pulumi.azurenative.appcomplianceautomation.inputs.ReportPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ReportArgs Empty = new ReportArgs();

    /**
     * Report property.
     * 
     */
    @Import(name="properties", required=true)
    private Output properties;

    /**
     * @return Report property.
     * 
     */
    public Output properties() {
        return this.properties;
    }

    /**
     * Report Name.
     * 
     */
    @Import(name="reportName")
    private @Nullable Output reportName;

    /**
     * @return Report Name.
     * 
     */
    public Optional> reportName() {
        return Optional.ofNullable(this.reportName);
    }

    private ReportArgs() {}

    private ReportArgs(ReportArgs $) {
        this.properties = $.properties;
        this.reportName = $.reportName;
    }

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

    public static final class Builder {
        private ReportArgs $;

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

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

        /**
         * @param properties Report property.
         * 
         * @return builder
         * 
         */
        public Builder properties(Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Report property.
         * 
         * @return builder
         * 
         */
        public Builder properties(ReportPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param reportName Report Name.
         * 
         * @return builder
         * 
         */
        public Builder reportName(@Nullable Output reportName) {
            $.reportName = reportName;
            return this;
        }

        /**
         * @param reportName Report Name.
         * 
         * @return builder
         * 
         */
        public Builder reportName(String reportName) {
            return reportName(Output.of(reportName));
        }

        public ReportArgs build() {
            if ($.properties == null) {
                throw new MissingRequiredPropertyException("ReportArgs", "properties");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy