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

com.pulumi.azurenative.securityinsights.inputs.GetIncidentTaskPlainArgs 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.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetIncidentTaskPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetIncidentTaskPlainArgs Empty = new GetIncidentTaskPlainArgs();

    /**
     * Incident ID
     * 
     */
    @Import(name="incidentId", required=true)
    private String incidentId;

    /**
     * @return Incident ID
     * 
     */
    public String incidentId() {
        return this.incidentId;
    }

    /**
     * Incident task ID
     * 
     */
    @Import(name="incidentTaskId", required=true)
    private String incidentTaskId;

    /**
     * @return Incident task ID
     * 
     */
    public String incidentTaskId() {
        return this.incidentTaskId;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private String workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public String workspaceName() {
        return this.workspaceName;
    }

    private GetIncidentTaskPlainArgs() {}

    private GetIncidentTaskPlainArgs(GetIncidentTaskPlainArgs $) {
        this.incidentId = $.incidentId;
        this.incidentTaskId = $.incidentTaskId;
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private GetIncidentTaskPlainArgs $;

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

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

        /**
         * @param incidentId Incident ID
         * 
         * @return builder
         * 
         */
        public Builder incidentId(String incidentId) {
            $.incidentId = incidentId;
            return this;
        }

        /**
         * @param incidentTaskId Incident task ID
         * 
         * @return builder
         * 
         */
        public Builder incidentTaskId(String incidentTaskId) {
            $.incidentTaskId = incidentTaskId;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        public GetIncidentTaskPlainArgs build() {
            if ($.incidentId == null) {
                throw new MissingRequiredPropertyException("GetIncidentTaskPlainArgs", "incidentId");
            }
            if ($.incidentTaskId == null) {
                throw new MissingRequiredPropertyException("GetIncidentTaskPlainArgs", "incidentTaskId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetIncidentTaskPlainArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("GetIncidentTaskPlainArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy