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

com.pulumi.azurenative.security.inputs.MalwareScanningPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.security.inputs;

import com.pulumi.azurenative.security.inputs.OnUploadPropertiesArgs;
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;


/**
 * Properties of Malware Scanning.
 * 
 */
public final class MalwareScanningPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final MalwareScanningPropertiesArgs Empty = new MalwareScanningPropertiesArgs();

    /**
     * Properties of On Upload malware scanning.
     * 
     */
    @Import(name="onUpload")
    private @Nullable Output onUpload;

    /**
     * @return Properties of On Upload malware scanning.
     * 
     */
    public Optional> onUpload() {
        return Optional.ofNullable(this.onUpload);
    }

    /**
     * Optional. Resource id of an Event Grid Topic to send scan results to.
     * 
     */
    @Import(name="scanResultsEventGridTopicResourceId")
    private @Nullable Output scanResultsEventGridTopicResourceId;

    /**
     * @return Optional. Resource id of an Event Grid Topic to send scan results to.
     * 
     */
    public Optional> scanResultsEventGridTopicResourceId() {
        return Optional.ofNullable(this.scanResultsEventGridTopicResourceId);
    }

    private MalwareScanningPropertiesArgs() {}

    private MalwareScanningPropertiesArgs(MalwareScanningPropertiesArgs $) {
        this.onUpload = $.onUpload;
        this.scanResultsEventGridTopicResourceId = $.scanResultsEventGridTopicResourceId;
    }

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

    public static final class Builder {
        private MalwareScanningPropertiesArgs $;

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

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

        /**
         * @param onUpload Properties of On Upload malware scanning.
         * 
         * @return builder
         * 
         */
        public Builder onUpload(@Nullable Output onUpload) {
            $.onUpload = onUpload;
            return this;
        }

        /**
         * @param onUpload Properties of On Upload malware scanning.
         * 
         * @return builder
         * 
         */
        public Builder onUpload(OnUploadPropertiesArgs onUpload) {
            return onUpload(Output.of(onUpload));
        }

        /**
         * @param scanResultsEventGridTopicResourceId Optional. Resource id of an Event Grid Topic to send scan results to.
         * 
         * @return builder
         * 
         */
        public Builder scanResultsEventGridTopicResourceId(@Nullable Output scanResultsEventGridTopicResourceId) {
            $.scanResultsEventGridTopicResourceId = scanResultsEventGridTopicResourceId;
            return this;
        }

        /**
         * @param scanResultsEventGridTopicResourceId Optional. Resource id of an Event Grid Topic to send scan results to.
         * 
         * @return builder
         * 
         */
        public Builder scanResultsEventGridTopicResourceId(String scanResultsEventGridTopicResourceId) {
            return scanResultsEventGridTopicResourceId(Output.of(scanResultsEventGridTopicResourceId));
        }

        public MalwareScanningPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy