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

com.pulumi.azurenative.security.inputs.ScopeElementArgs 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * A more specific scope used to identify the alerts to suppress.
 * 
 */
public final class ScopeElementArgs extends com.pulumi.resources.ResourceArgs {

    public static final ScopeElementArgs Empty = new ScopeElementArgs();

    /**
     * The alert entity type to suppress by.
     * 
     */
    @Import(name="field")
    private @Nullable Output field;

    /**
     * @return The alert entity type to suppress by.
     * 
     */
    public Optional> field() {
        return Optional.ofNullable(this.field);
    }

    private ScopeElementArgs() {}

    private ScopeElementArgs(ScopeElementArgs $) {
        this.field = $.field;
    }

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

    public static final class Builder {
        private ScopeElementArgs $;

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

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

        /**
         * @param field The alert entity type to suppress by.
         * 
         * @return builder
         * 
         */
        public Builder field(@Nullable Output field) {
            $.field = field;
            return this;
        }

        /**
         * @param field The alert entity type to suppress by.
         * 
         * @return builder
         * 
         */
        public Builder field(String field) {
            return field(Output.of(field));
        }

        public ScopeElementArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy