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

com.pulumi.azurenative.security.AdvancedThreatProtectionArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AdvancedThreatProtectionArgs Empty = new AdvancedThreatProtectionArgs();

    /**
     * Indicates whether Advanced Threat Protection is enabled.
     * 
     */
    @Import(name="isEnabled")
    private @Nullable Output isEnabled;

    /**
     * @return Indicates whether Advanced Threat Protection is enabled.
     * 
     */
    public Optional> isEnabled() {
        return Optional.ofNullable(this.isEnabled);
    }

    /**
     * The identifier of the resource.
     * 
     */
    @Import(name="resourceId", required=true)
    private Output resourceId;

    /**
     * @return The identifier of the resource.
     * 
     */
    public Output resourceId() {
        return this.resourceId;
    }

    /**
     * Advanced Threat Protection setting name.
     * 
     */
    @Import(name="settingName")
    private @Nullable Output settingName;

    /**
     * @return Advanced Threat Protection setting name.
     * 
     */
    public Optional> settingName() {
        return Optional.ofNullable(this.settingName);
    }

    private AdvancedThreatProtectionArgs() {}

    private AdvancedThreatProtectionArgs(AdvancedThreatProtectionArgs $) {
        this.isEnabled = $.isEnabled;
        this.resourceId = $.resourceId;
        this.settingName = $.settingName;
    }

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

    public static final class Builder {
        private AdvancedThreatProtectionArgs $;

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

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

        /**
         * @param isEnabled Indicates whether Advanced Threat Protection is enabled.
         * 
         * @return builder
         * 
         */
        public Builder isEnabled(@Nullable Output isEnabled) {
            $.isEnabled = isEnabled;
            return this;
        }

        /**
         * @param isEnabled Indicates whether Advanced Threat Protection is enabled.
         * 
         * @return builder
         * 
         */
        public Builder isEnabled(Boolean isEnabled) {
            return isEnabled(Output.of(isEnabled));
        }

        /**
         * @param resourceId The identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId The identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        /**
         * @param settingName Advanced Threat Protection setting name.
         * 
         * @return builder
         * 
         */
        public Builder settingName(@Nullable Output settingName) {
            $.settingName = settingName;
            return this;
        }

        /**
         * @param settingName Advanced Threat Protection setting name.
         * 
         * @return builder
         * 
         */
        public Builder settingName(String settingName) {
            return settingName(Output.of(settingName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy