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

com.pulumi.meraki.networks.ApplianceSecurityMalwareArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.networks;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.networks.inputs.ApplianceSecurityMalwareAllowedFileArgs;
import com.pulumi.meraki.networks.inputs.ApplianceSecurityMalwareAllowedUrlArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ApplianceSecurityMalwareArgs Empty = new ApplianceSecurityMalwareArgs();

    /**
     * Sha256 digests of files permitted by the malware detection engine
     * 
     */
    @Import(name="allowedFiles")
    private @Nullable Output> allowedFiles;

    /**
     * @return Sha256 digests of files permitted by the malware detection engine
     * 
     */
    public Optional>> allowedFiles() {
        return Optional.ofNullable(this.allowedFiles);
    }

    /**
     * URLs permitted by the malware detection engine
     * 
     */
    @Import(name="allowedUrls")
    private @Nullable Output> allowedUrls;

    /**
     * @return URLs permitted by the malware detection engine
     * 
     */
    public Optional>> allowedUrls() {
        return Optional.ofNullable(this.allowedUrls);
    }

    /**
     * Current status of malware prevention
     * 
     */
    @Import(name="mode")
    private @Nullable Output mode;

    /**
     * @return Current status of malware prevention
     * 
     */
    public Optional> mode() {
        return Optional.ofNullable(this.mode);
    }

    /**
     * networkId path parameter. Network ID
     * 
     */
    @Import(name="networkId", required=true)
    private Output networkId;

    /**
     * @return networkId path parameter. Network ID
     * 
     */
    public Output networkId() {
        return this.networkId;
    }

    private ApplianceSecurityMalwareArgs() {}

    private ApplianceSecurityMalwareArgs(ApplianceSecurityMalwareArgs $) {
        this.allowedFiles = $.allowedFiles;
        this.allowedUrls = $.allowedUrls;
        this.mode = $.mode;
        this.networkId = $.networkId;
    }

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

    public static final class Builder {
        private ApplianceSecurityMalwareArgs $;

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

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

        /**
         * @param allowedFiles Sha256 digests of files permitted by the malware detection engine
         * 
         * @return builder
         * 
         */
        public Builder allowedFiles(@Nullable Output> allowedFiles) {
            $.allowedFiles = allowedFiles;
            return this;
        }

        /**
         * @param allowedFiles Sha256 digests of files permitted by the malware detection engine
         * 
         * @return builder
         * 
         */
        public Builder allowedFiles(List allowedFiles) {
            return allowedFiles(Output.of(allowedFiles));
        }

        /**
         * @param allowedFiles Sha256 digests of files permitted by the malware detection engine
         * 
         * @return builder
         * 
         */
        public Builder allowedFiles(ApplianceSecurityMalwareAllowedFileArgs... allowedFiles) {
            return allowedFiles(List.of(allowedFiles));
        }

        /**
         * @param allowedUrls URLs permitted by the malware detection engine
         * 
         * @return builder
         * 
         */
        public Builder allowedUrls(@Nullable Output> allowedUrls) {
            $.allowedUrls = allowedUrls;
            return this;
        }

        /**
         * @param allowedUrls URLs permitted by the malware detection engine
         * 
         * @return builder
         * 
         */
        public Builder allowedUrls(List allowedUrls) {
            return allowedUrls(Output.of(allowedUrls));
        }

        /**
         * @param allowedUrls URLs permitted by the malware detection engine
         * 
         * @return builder
         * 
         */
        public Builder allowedUrls(ApplianceSecurityMalwareAllowedUrlArgs... allowedUrls) {
            return allowedUrls(List.of(allowedUrls));
        }

        /**
         * @param mode Current status of malware prevention
         * 
         * @return builder
         * 
         */
        public Builder mode(@Nullable Output mode) {
            $.mode = mode;
            return this;
        }

        /**
         * @param mode Current status of malware prevention
         * 
         * @return builder
         * 
         */
        public Builder mode(String mode) {
            return mode(Output.of(mode));
        }

        /**
         * @param networkId networkId path parameter. Network ID
         * 
         * @return builder
         * 
         */
        public Builder networkId(Output networkId) {
            $.networkId = networkId;
            return this;
        }

        /**
         * @param networkId networkId path parameter. Network ID
         * 
         * @return builder
         * 
         */
        public Builder networkId(String networkId) {
            return networkId(Output.of(networkId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy