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

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class IncidentAdditionalDataResponse {
    /**
     * @return List of product names of alerts in the incident
     * 
     */
    private List alertProductNames;
    /**
     * @return The number of alerts in the incident
     * 
     */
    private Integer alertsCount;
    /**
     * @return The number of bookmarks in the incident
     * 
     */
    private Integer bookmarksCount;
    /**
     * @return The number of comments in the incident
     * 
     */
    private Integer commentsCount;
    /**
     * @return The provider incident url to the incident in Microsoft 365 Defender portal
     * 
     */
    private String providerIncidentUrl;
    /**
     * @return The tactics associated with incident
     * 
     */
    private List tactics;

    private IncidentAdditionalDataResponse() {}
    /**
     * @return List of product names of alerts in the incident
     * 
     */
    public List alertProductNames() {
        return this.alertProductNames;
    }
    /**
     * @return The number of alerts in the incident
     * 
     */
    public Integer alertsCount() {
        return this.alertsCount;
    }
    /**
     * @return The number of bookmarks in the incident
     * 
     */
    public Integer bookmarksCount() {
        return this.bookmarksCount;
    }
    /**
     * @return The number of comments in the incident
     * 
     */
    public Integer commentsCount() {
        return this.commentsCount;
    }
    /**
     * @return The provider incident url to the incident in Microsoft 365 Defender portal
     * 
     */
    public String providerIncidentUrl() {
        return this.providerIncidentUrl;
    }
    /**
     * @return The tactics associated with incident
     * 
     */
    public List tactics() {
        return this.tactics;
    }

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

    public static Builder builder(IncidentAdditionalDataResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List alertProductNames;
        private Integer alertsCount;
        private Integer bookmarksCount;
        private Integer commentsCount;
        private String providerIncidentUrl;
        private List tactics;
        public Builder() {}
        public Builder(IncidentAdditionalDataResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.alertProductNames = defaults.alertProductNames;
    	      this.alertsCount = defaults.alertsCount;
    	      this.bookmarksCount = defaults.bookmarksCount;
    	      this.commentsCount = defaults.commentsCount;
    	      this.providerIncidentUrl = defaults.providerIncidentUrl;
    	      this.tactics = defaults.tactics;
        }

        @CustomType.Setter
        public Builder alertProductNames(List alertProductNames) {
            if (alertProductNames == null) {
              throw new MissingRequiredPropertyException("IncidentAdditionalDataResponse", "alertProductNames");
            }
            this.alertProductNames = alertProductNames;
            return this;
        }
        public Builder alertProductNames(String... alertProductNames) {
            return alertProductNames(List.of(alertProductNames));
        }
        @CustomType.Setter
        public Builder alertsCount(Integer alertsCount) {
            if (alertsCount == null) {
              throw new MissingRequiredPropertyException("IncidentAdditionalDataResponse", "alertsCount");
            }
            this.alertsCount = alertsCount;
            return this;
        }
        @CustomType.Setter
        public Builder bookmarksCount(Integer bookmarksCount) {
            if (bookmarksCount == null) {
              throw new MissingRequiredPropertyException("IncidentAdditionalDataResponse", "bookmarksCount");
            }
            this.bookmarksCount = bookmarksCount;
            return this;
        }
        @CustomType.Setter
        public Builder commentsCount(Integer commentsCount) {
            if (commentsCount == null) {
              throw new MissingRequiredPropertyException("IncidentAdditionalDataResponse", "commentsCount");
            }
            this.commentsCount = commentsCount;
            return this;
        }
        @CustomType.Setter
        public Builder providerIncidentUrl(String providerIncidentUrl) {
            if (providerIncidentUrl == null) {
              throw new MissingRequiredPropertyException("IncidentAdditionalDataResponse", "providerIncidentUrl");
            }
            this.providerIncidentUrl = providerIncidentUrl;
            return this;
        }
        @CustomType.Setter
        public Builder tactics(List tactics) {
            if (tactics == null) {
              throw new MissingRequiredPropertyException("IncidentAdditionalDataResponse", "tactics");
            }
            this.tactics = tactics;
            return this;
        }
        public Builder tactics(String... tactics) {
            return tactics(List.of(tactics));
        }
        public IncidentAdditionalDataResponse build() {
            final var _resultValue = new IncidentAdditionalDataResponse();
            _resultValue.alertProductNames = alertProductNames;
            _resultValue.alertsCount = alertsCount;
            _resultValue.bookmarksCount = bookmarksCount;
            _resultValue.commentsCount = commentsCount;
            _resultValue.providerIncidentUrl = providerIncidentUrl;
            _resultValue.tactics = tactics;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy