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

com.pulumi.azurenative.security.inputs.OnUploadPropertiesArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties of On Upload malware scanning.
 * 
 */
public final class OnUploadPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final OnUploadPropertiesArgs Empty = new OnUploadPropertiesArgs();

    /**
     * Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
     * 
     */
    @Import(name="capGBPerMonth")
    private @Nullable Output capGBPerMonth;

    /**
     * @return Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
     * 
     */
    public Optional> capGBPerMonth() {
        return Optional.ofNullable(this.capGBPerMonth);
    }

    /**
     * Indicates whether On Upload malware scanning should be enabled.
     * 
     */
    @Import(name="isEnabled")
    private @Nullable Output isEnabled;

    /**
     * @return Indicates whether On Upload malware scanning should be enabled.
     * 
     */
    public Optional> isEnabled() {
        return Optional.ofNullable(this.isEnabled);
    }

    private OnUploadPropertiesArgs() {}

    private OnUploadPropertiesArgs(OnUploadPropertiesArgs $) {
        this.capGBPerMonth = $.capGBPerMonth;
        this.isEnabled = $.isEnabled;
    }

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

    public static final class Builder {
        private OnUploadPropertiesArgs $;

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

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

        /**
         * @param capGBPerMonth Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
         * 
         * @return builder
         * 
         */
        public Builder capGBPerMonth(@Nullable Output capGBPerMonth) {
            $.capGBPerMonth = capGBPerMonth;
            return this;
        }

        /**
         * @param capGBPerMonth Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
         * 
         * @return builder
         * 
         */
        public Builder capGBPerMonth(Integer capGBPerMonth) {
            return capGBPerMonth(Output.of(capGBPerMonth));
        }

        /**
         * @param isEnabled Indicates whether On Upload malware scanning should be enabled.
         * 
         * @return builder
         * 
         */
        public Builder isEnabled(@Nullable Output isEnabled) {
            $.isEnabled = isEnabled;
            return this;
        }

        /**
         * @param isEnabled Indicates whether On Upload malware scanning should be enabled.
         * 
         * @return builder
         * 
         */
        public Builder isEnabled(Boolean isEnabled) {
            return isEnabled(Output.of(isEnabled));
        }

        public OnUploadPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy