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

com.pulumi.azurenative.securityinsights.inputs.AlertPropertyMappingArgs Maven / Gradle / Ivy

// *** 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.securityinsights.inputs;

import com.pulumi.azurenative.securityinsights.enums.AlertProperty;
import com.pulumi.core.Either;
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 single alert property mapping to override
 * 
 */
public final class AlertPropertyMappingArgs extends com.pulumi.resources.ResourceArgs {

    public static final AlertPropertyMappingArgs Empty = new AlertPropertyMappingArgs();

    /**
     * The V3 alert property
     * 
     */
    @Import(name="alertProperty")
    private @Nullable Output> alertProperty;

    /**
     * @return The V3 alert property
     * 
     */
    public Optional>> alertProperty() {
        return Optional.ofNullable(this.alertProperty);
    }

    /**
     * the column name to use to override this property
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return the column name to use to override this property
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private AlertPropertyMappingArgs() {}

    private AlertPropertyMappingArgs(AlertPropertyMappingArgs $) {
        this.alertProperty = $.alertProperty;
        this.value = $.value;
    }

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

    public static final class Builder {
        private AlertPropertyMappingArgs $;

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

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

        /**
         * @param alertProperty The V3 alert property
         * 
         * @return builder
         * 
         */
        public Builder alertProperty(@Nullable Output> alertProperty) {
            $.alertProperty = alertProperty;
            return this;
        }

        /**
         * @param alertProperty The V3 alert property
         * 
         * @return builder
         * 
         */
        public Builder alertProperty(Either alertProperty) {
            return alertProperty(Output.of(alertProperty));
        }

        /**
         * @param alertProperty The V3 alert property
         * 
         * @return builder
         * 
         */
        public Builder alertProperty(String alertProperty) {
            return alertProperty(Either.ofLeft(alertProperty));
        }

        /**
         * @param alertProperty The V3 alert property
         * 
         * @return builder
         * 
         */
        public Builder alertProperty(AlertProperty alertProperty) {
            return alertProperty(Either.ofRight(alertProperty));
        }

        /**
         * @param value the column name to use to override this property
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value the column name to use to override this property
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public AlertPropertyMappingArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy