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

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

import com.pulumi.azurenative.appcomplianceautomation.enums.EvidenceType;
import com.pulumi.core.Either;
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 EvidenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final EvidenceArgs Empty = new EvidenceArgs();

    /**
     * Control id.
     * 
     */
    @Import(name="controlId")
    private @Nullable Output controlId;

    /**
     * @return Control id.
     * 
     */
    public Optional> controlId() {
        return Optional.ofNullable(this.controlId);
    }

    /**
     * The evidence name.
     * 
     */
    @Import(name="evidenceName")
    private @Nullable Output evidenceName;

    /**
     * @return The evidence name.
     * 
     */
    public Optional> evidenceName() {
        return Optional.ofNullable(this.evidenceName);
    }

    /**
     * Evidence type.
     * 
     */
    @Import(name="evidenceType")
    private @Nullable Output> evidenceType;

    /**
     * @return Evidence type.
     * 
     */
    public Optional>> evidenceType() {
        return Optional.ofNullable(this.evidenceType);
    }

    /**
     * Extra data considered as evidence.
     * 
     */
    @Import(name="extraData")
    private @Nullable Output extraData;

    /**
     * @return Extra data considered as evidence.
     * 
     */
    public Optional> extraData() {
        return Optional.ofNullable(this.extraData);
    }

    /**
     * The path of the file in storage.
     * 
     */
    @Import(name="filePath", required=true)
    private Output filePath;

    /**
     * @return The path of the file in storage.
     * 
     */
    public Output filePath() {
        return this.filePath;
    }

    /**
     * The offerGuid which mapping to the reports.
     * 
     */
    @Import(name="offerGuid")
    private @Nullable Output offerGuid;

    /**
     * @return The offerGuid which mapping to the reports.
     * 
     */
    public Optional> offerGuid() {
        return Optional.ofNullable(this.offerGuid);
    }

    /**
     * The tenant id of the report creator.
     * 
     */
    @Import(name="reportCreatorTenantId")
    private @Nullable Output reportCreatorTenantId;

    /**
     * @return The tenant id of the report creator.
     * 
     */
    public Optional> reportCreatorTenantId() {
        return Optional.ofNullable(this.reportCreatorTenantId);
    }

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

    /**
     * @return Report Name.
     * 
     */
    public Output reportName() {
        return this.reportName;
    }

    /**
     * Responsibility id.
     * 
     */
    @Import(name="responsibilityId")
    private @Nullable Output responsibilityId;

    /**
     * @return Responsibility id.
     * 
     */
    public Optional> responsibilityId() {
        return Optional.ofNullable(this.responsibilityId);
    }

    private EvidenceArgs() {}

    private EvidenceArgs(EvidenceArgs $) {
        this.controlId = $.controlId;
        this.evidenceName = $.evidenceName;
        this.evidenceType = $.evidenceType;
        this.extraData = $.extraData;
        this.filePath = $.filePath;
        this.offerGuid = $.offerGuid;
        this.reportCreatorTenantId = $.reportCreatorTenantId;
        this.reportName = $.reportName;
        this.responsibilityId = $.responsibilityId;
    }

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

    public static final class Builder {
        private EvidenceArgs $;

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

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

        /**
         * @param controlId Control id.
         * 
         * @return builder
         * 
         */
        public Builder controlId(@Nullable Output controlId) {
            $.controlId = controlId;
            return this;
        }

        /**
         * @param controlId Control id.
         * 
         * @return builder
         * 
         */
        public Builder controlId(String controlId) {
            return controlId(Output.of(controlId));
        }

        /**
         * @param evidenceName The evidence name.
         * 
         * @return builder
         * 
         */
        public Builder evidenceName(@Nullable Output evidenceName) {
            $.evidenceName = evidenceName;
            return this;
        }

        /**
         * @param evidenceName The evidence name.
         * 
         * @return builder
         * 
         */
        public Builder evidenceName(String evidenceName) {
            return evidenceName(Output.of(evidenceName));
        }

        /**
         * @param evidenceType Evidence type.
         * 
         * @return builder
         * 
         */
        public Builder evidenceType(@Nullable Output> evidenceType) {
            $.evidenceType = evidenceType;
            return this;
        }

        /**
         * @param evidenceType Evidence type.
         * 
         * @return builder
         * 
         */
        public Builder evidenceType(Either evidenceType) {
            return evidenceType(Output.of(evidenceType));
        }

        /**
         * @param evidenceType Evidence type.
         * 
         * @return builder
         * 
         */
        public Builder evidenceType(String evidenceType) {
            return evidenceType(Either.ofLeft(evidenceType));
        }

        /**
         * @param evidenceType Evidence type.
         * 
         * @return builder
         * 
         */
        public Builder evidenceType(EvidenceType evidenceType) {
            return evidenceType(Either.ofRight(evidenceType));
        }

        /**
         * @param extraData Extra data considered as evidence.
         * 
         * @return builder
         * 
         */
        public Builder extraData(@Nullable Output extraData) {
            $.extraData = extraData;
            return this;
        }

        /**
         * @param extraData Extra data considered as evidence.
         * 
         * @return builder
         * 
         */
        public Builder extraData(String extraData) {
            return extraData(Output.of(extraData));
        }

        /**
         * @param filePath The path of the file in storage.
         * 
         * @return builder
         * 
         */
        public Builder filePath(Output filePath) {
            $.filePath = filePath;
            return this;
        }

        /**
         * @param filePath The path of the file in storage.
         * 
         * @return builder
         * 
         */
        public Builder filePath(String filePath) {
            return filePath(Output.of(filePath));
        }

        /**
         * @param offerGuid The offerGuid which mapping to the reports.
         * 
         * @return builder
         * 
         */
        public Builder offerGuid(@Nullable Output offerGuid) {
            $.offerGuid = offerGuid;
            return this;
        }

        /**
         * @param offerGuid The offerGuid which mapping to the reports.
         * 
         * @return builder
         * 
         */
        public Builder offerGuid(String offerGuid) {
            return offerGuid(Output.of(offerGuid));
        }

        /**
         * @param reportCreatorTenantId The tenant id of the report creator.
         * 
         * @return builder
         * 
         */
        public Builder reportCreatorTenantId(@Nullable Output reportCreatorTenantId) {
            $.reportCreatorTenantId = reportCreatorTenantId;
            return this;
        }

        /**
         * @param reportCreatorTenantId The tenant id of the report creator.
         * 
         * @return builder
         * 
         */
        public Builder reportCreatorTenantId(String reportCreatorTenantId) {
            return reportCreatorTenantId(Output.of(reportCreatorTenantId));
        }

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

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

        /**
         * @param responsibilityId Responsibility id.
         * 
         * @return builder
         * 
         */
        public Builder responsibilityId(@Nullable Output responsibilityId) {
            $.responsibilityId = responsibilityId;
            return this;
        }

        /**
         * @param responsibilityId Responsibility id.
         * 
         * @return builder
         * 
         */
        public Builder responsibilityId(String responsibilityId) {
            return responsibilityId(Output.of(responsibilityId));
        }

        public EvidenceArgs build() {
            if ($.filePath == null) {
                throw new MissingRequiredPropertyException("EvidenceArgs", "filePath");
            }
            if ($.reportName == null) {
                throw new MissingRequiredPropertyException("EvidenceArgs", "reportName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy