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

com.pulumi.azurenative.containerservice.inputs.ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs 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.containerservice.inputs;

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;


/**
 * Microsoft Defender settings for the security profile threat detection.
 * 
 */
public final class ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs Empty = new ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs();

    /**
     * Whether to enable Defender threat detection
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Whether to enable Defender threat detection
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs() {}

    private ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs(ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs $) {
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs $;

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

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

        /**
         * @param enabled Whether to enable Defender threat detection
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Whether to enable Defender threat detection
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy