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

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

There is a newer version: 2.72.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.DefenderForServersGcpOfferingConfigurationConfigurationConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The Microsoft Defender for Server VM scanning configuration
 * 
 */
public final class DefenderForServersGcpOfferingVmScannersArgs extends com.pulumi.resources.ResourceArgs {

    public static final DefenderForServersGcpOfferingVmScannersArgs Empty = new DefenderForServersGcpOfferingVmScannersArgs();

    /**
     * configuration for Microsoft Defender for Server VM scanning
     * 
     */
    @Import(name="configuration")
    private @Nullable Output configuration;

    /**
     * @return configuration for Microsoft Defender for Server VM scanning
     * 
     */
    public Optional> configuration() {
        return Optional.ofNullable(this.configuration);
    }

    /**
     * Is Microsoft Defender for Server VM scanning enabled
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Is Microsoft Defender for Server VM scanning enabled
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private DefenderForServersGcpOfferingVmScannersArgs() {}

    private DefenderForServersGcpOfferingVmScannersArgs(DefenderForServersGcpOfferingVmScannersArgs $) {
        this.configuration = $.configuration;
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private DefenderForServersGcpOfferingVmScannersArgs $;

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

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

        /**
         * @param configuration configuration for Microsoft Defender for Server VM scanning
         * 
         * @return builder
         * 
         */
        public Builder configuration(@Nullable Output configuration) {
            $.configuration = configuration;
            return this;
        }

        /**
         * @param configuration configuration for Microsoft Defender for Server VM scanning
         * 
         * @return builder
         * 
         */
        public Builder configuration(DefenderForServersGcpOfferingConfigurationConfigurationConfigurationArgs configuration) {
            return configuration(Output.of(configuration));
        }

        /**
         * @param enabled Is Microsoft Defender for Server VM scanning enabled
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Is Microsoft Defender for Server VM scanning enabled
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public DefenderForServersGcpOfferingVmScannersArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy