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

com.pulumi.azurenative.securityinsights.outputs.AlertDetailsOverrideResponse 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.securityinsights.outputs;

import com.pulumi.azurenative.securityinsights.outputs.AlertPropertyMappingResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AlertDetailsOverrideResponse {
    /**
     * @return the format containing columns name(s) to override the alert description
     * 
     */
    private @Nullable String alertDescriptionFormat;
    /**
     * @return the format containing columns name(s) to override the alert name
     * 
     */
    private @Nullable String alertDisplayNameFormat;
    /**
     * @return List of additional dynamic properties to override
     * 
     */
    private @Nullable List alertDynamicProperties;
    /**
     * @return the column name to take the alert severity from
     * 
     */
    private @Nullable String alertSeverityColumnName;
    /**
     * @return the column name to take the alert tactics from
     * 
     */
    private @Nullable String alertTacticsColumnName;

    private AlertDetailsOverrideResponse() {}
    /**
     * @return the format containing columns name(s) to override the alert description
     * 
     */
    public Optional alertDescriptionFormat() {
        return Optional.ofNullable(this.alertDescriptionFormat);
    }
    /**
     * @return the format containing columns name(s) to override the alert name
     * 
     */
    public Optional alertDisplayNameFormat() {
        return Optional.ofNullable(this.alertDisplayNameFormat);
    }
    /**
     * @return List of additional dynamic properties to override
     * 
     */
    public List alertDynamicProperties() {
        return this.alertDynamicProperties == null ? List.of() : this.alertDynamicProperties;
    }
    /**
     * @return the column name to take the alert severity from
     * 
     */
    public Optional alertSeverityColumnName() {
        return Optional.ofNullable(this.alertSeverityColumnName);
    }
    /**
     * @return the column name to take the alert tactics from
     * 
     */
    public Optional alertTacticsColumnName() {
        return Optional.ofNullable(this.alertTacticsColumnName);
    }

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

    public static Builder builder(AlertDetailsOverrideResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String alertDescriptionFormat;
        private @Nullable String alertDisplayNameFormat;
        private @Nullable List alertDynamicProperties;
        private @Nullable String alertSeverityColumnName;
        private @Nullable String alertTacticsColumnName;
        public Builder() {}
        public Builder(AlertDetailsOverrideResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.alertDescriptionFormat = defaults.alertDescriptionFormat;
    	      this.alertDisplayNameFormat = defaults.alertDisplayNameFormat;
    	      this.alertDynamicProperties = defaults.alertDynamicProperties;
    	      this.alertSeverityColumnName = defaults.alertSeverityColumnName;
    	      this.alertTacticsColumnName = defaults.alertTacticsColumnName;
        }

        @CustomType.Setter
        public Builder alertDescriptionFormat(@Nullable String alertDescriptionFormat) {

            this.alertDescriptionFormat = alertDescriptionFormat;
            return this;
        }
        @CustomType.Setter
        public Builder alertDisplayNameFormat(@Nullable String alertDisplayNameFormat) {

            this.alertDisplayNameFormat = alertDisplayNameFormat;
            return this;
        }
        @CustomType.Setter
        public Builder alertDynamicProperties(@Nullable List alertDynamicProperties) {

            this.alertDynamicProperties = alertDynamicProperties;
            return this;
        }
        public Builder alertDynamicProperties(AlertPropertyMappingResponse... alertDynamicProperties) {
            return alertDynamicProperties(List.of(alertDynamicProperties));
        }
        @CustomType.Setter
        public Builder alertSeverityColumnName(@Nullable String alertSeverityColumnName) {

            this.alertSeverityColumnName = alertSeverityColumnName;
            return this;
        }
        @CustomType.Setter
        public Builder alertTacticsColumnName(@Nullable String alertTacticsColumnName) {

            this.alertTacticsColumnName = alertTacticsColumnName;
            return this;
        }
        public AlertDetailsOverrideResponse build() {
            final var _resultValue = new AlertDetailsOverrideResponse();
            _resultValue.alertDescriptionFormat = alertDescriptionFormat;
            _resultValue.alertDisplayNameFormat = alertDisplayNameFormat;
            _resultValue.alertDynamicProperties = alertDynamicProperties;
            _resultValue.alertSeverityColumnName = alertSeverityColumnName;
            _resultValue.alertTacticsColumnName = alertTacticsColumnName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy