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

com.pulumi.azurenative.securityinsights.outputs.GetHuntResult 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.azurenative.securityinsights.outputs.HuntOwnerResponse;
import com.pulumi.azurenative.securityinsights.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetHuntResult {
    /**
     * @return A list of mitre attack tactics the hunt is associated with
     * 
     */
    private @Nullable List attackTactics;
    /**
     * @return A list of a mitre attack techniques the hunt is associated with
     * 
     */
    private @Nullable List attackTechniques;
    /**
     * @return The description of the hunt
     * 
     */
    private String description;
    /**
     * @return The display name of the hunt
     * 
     */
    private String displayName;
    /**
     * @return Etag of the azure resource
     * 
     */
    private @Nullable String etag;
    /**
     * @return The hypothesis status of the hunt.
     * 
     */
    private @Nullable String hypothesisStatus;
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    private String id;
    /**
     * @return List of labels relevant to this hunt
     * 
     */
    private @Nullable List labels;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Describes a user that the hunt is assigned to
     * 
     */
    private @Nullable HuntOwnerResponse owner;
    /**
     * @return The status of the hunt.
     * 
     */
    private @Nullable String status;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetHuntResult() {}
    /**
     * @return A list of mitre attack tactics the hunt is associated with
     * 
     */
    public List attackTactics() {
        return this.attackTactics == null ? List.of() : this.attackTactics;
    }
    /**
     * @return A list of a mitre attack techniques the hunt is associated with
     * 
     */
    public List attackTechniques() {
        return this.attackTechniques == null ? List.of() : this.attackTechniques;
    }
    /**
     * @return The description of the hunt
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The display name of the hunt
     * 
     */
    public String displayName() {
        return this.displayName;
    }
    /**
     * @return Etag of the azure resource
     * 
     */
    public Optional etag() {
        return Optional.ofNullable(this.etag);
    }
    /**
     * @return The hypothesis status of the hunt.
     * 
     */
    public Optional hypothesisStatus() {
        return Optional.ofNullable(this.hypothesisStatus);
    }
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return List of labels relevant to this hunt
     * 
     */
    public List labels() {
        return this.labels == null ? List.of() : this.labels;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Describes a user that the hunt is assigned to
     * 
     */
    public Optional owner() {
        return Optional.ofNullable(this.owner);
    }
    /**
     * @return The status of the hunt.
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetHuntResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List attackTactics;
        private @Nullable List attackTechniques;
        private String description;
        private String displayName;
        private @Nullable String etag;
        private @Nullable String hypothesisStatus;
        private String id;
        private @Nullable List labels;
        private String name;
        private @Nullable HuntOwnerResponse owner;
        private @Nullable String status;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetHuntResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.attackTactics = defaults.attackTactics;
    	      this.attackTechniques = defaults.attackTechniques;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.etag = defaults.etag;
    	      this.hypothesisStatus = defaults.hypothesisStatus;
    	      this.id = defaults.id;
    	      this.labels = defaults.labels;
    	      this.name = defaults.name;
    	      this.owner = defaults.owner;
    	      this.status = defaults.status;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder attackTactics(@Nullable List attackTactics) {

            this.attackTactics = attackTactics;
            return this;
        }
        public Builder attackTactics(String... attackTactics) {
            return attackTactics(List.of(attackTactics));
        }
        @CustomType.Setter
        public Builder attackTechniques(@Nullable List attackTechniques) {

            this.attackTechniques = attackTechniques;
            return this;
        }
        public Builder attackTechniques(String... attackTechniques) {
            return attackTechniques(List.of(attackTechniques));
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetHuntResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(String displayName) {
            if (displayName == null) {
              throw new MissingRequiredPropertyException("GetHuntResult", "displayName");
            }
            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder etag(@Nullable String etag) {

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

            this.hypothesisStatus = hypothesisStatus;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetHuntResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder labels(@Nullable List labels) {

            this.labels = labels;
            return this;
        }
        public Builder labels(String... labels) {
            return labels(List.of(labels));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetHuntResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder owner(@Nullable HuntOwnerResponse owner) {

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

            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetHuntResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetHuntResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetHuntResult build() {
            final var _resultValue = new GetHuntResult();
            _resultValue.attackTactics = attackTactics;
            _resultValue.attackTechniques = attackTechniques;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.etag = etag;
            _resultValue.hypothesisStatus = hypothesisStatus;
            _resultValue.id = id;
            _resultValue.labels = labels;
            _resultValue.name = name;
            _resultValue.owner = owner;
            _resultValue.status = status;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy